Product: PowerShell Universal
Version: 4.2.20
Hey everyone,
We’re having a strange issue. When calling an API endpoint from anything dynamic, we’re seeing strange results.
Two Examples:
- First one is a password reset from a Form. We’re calling http://url:5463/endpointname?domain=domainname&changepw=true&password=randomstr1ng
If we do this just from a browser, everything is logged and works as expected. If we do this from a dashboard that is in a New-UDDynamic it doesn’t work at all.
- Second is pretty much the same, but we’re just doing a query against ExchangeOnline. We’re calling: http://url:5463/exchangeonline/getmailboxinfo/user.name@domain.com which again returns everything we want when run just as a straight browser request.
If we do this from another New-UDDynamic it returns a 404 error.
I’m literally going bald from pulling my hair out trying to get this working. We’re transitioning a lot of our calls to endpoints as it seems to be a lot faster, but if I can’t get this resolved or work out what I’m doing so wrong, I may get lynched!
Anyone else seen this? I’ve checked everything I know. Endpoints.ps1 is totally normal, and as I’ve said, it works just through a browser.
Any help would be much appreciated!
Cheers,
Daveo