powershell-intune-samples icon indicating copy to clipboard operation
powershell-intune-samples copied to clipboard

AADSTS50013: No reply address is registered for the application.

Open jcousineaugd opened this issue 1 year ago • 2 comments

We are getting the error "AADSTS50013: No reply address is registered for the application." and are not sure what we may have missed.

image

We followed the documentation located here to set up our App Registration. It is obviously missing some steps and/or does not fully explain how this new App Registration needs to be configured.

I tried adding multiple redirect URIs as shown below:

image

But then we just get this error: "AADSTS50011: The redirect URI 'urn:ietf:wg:oauth:2.0:oob' specified in the request does not match the redirect URIs configured for the application '9a6e3dee-a1e4-4d6a-9e51-74b178f29d12'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal." image

image

Any help would be greatly appreciated, thank you!

Originally posted by @jcousineaugd in https://github.com/microsoftgraph/powershell-intune-samples/issues/268#issuecomment-2123559885

jcousineaugd avatar May 21 '24 23:05 jcousineaugd

Add urn:ietf:wg:oauth:2.0:oob as the Redirect URI for "Mobile and desktop applications"

carlitog avatar May 27 '24 01:05 carlitog

That fixed it, thank you. I would suggest adding a configure redirect URI step to the example documentation: https://github.com/microsoftgraph/powershell-intune-samples/blob/master/Updating%20App%20Registration

jcousineaugd avatar May 29 '24 16:05 jcousineaugd