Azure AD Out-of-the-box Authentication not Working!

Kevin Azure 141 Reputation points
2020-01-15T22:03:16.097+00:00

I created an App Service & App Registration connected them both using App Service > Authentication blade > Advanced Settings.

While launching the URL - even with successful authentication - it is throwing error:
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '6f82e422-41cb-4291-95ad-234bd5f942eb

BUT the Login URL shows it is correct as per configured.
alt text
alt text
URL:
https://working-angular-webapi.azurewebsites.net/

Email: aadtester@jeanpaulvagmail.onmicrosoft.com
Password: authentication1!

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,731 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShashiShailaj-MSFT 7,466 Reputation points Microsoft Employee
    2020-01-16T05:48:32.947+00:00

    Hello Paul ,
    I checked this and found that the redirect URI which you have mentioned in the settings on Azure AD is not absolute match .
    alt text

    Could you please change the same from https://working-angular-webapi.azurewebsites.net/ to https://working-angular-webapi.azurewebsites.net/.auth/login/aad/callback because I think the redirect URI needs to exactly tell the http client about the endpoint within the application which can process the response by the federation service (which in this case is Azure AD) .

    I hope this works in your case. In case it does , please do mark this as answer and if this does not help , please do comment with your findings and we will be happy to continue the conversation.

    Thank you.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful