Home > front end >  Connecting to Azure Active Directory from ASP.NET application
Connecting to Azure Active Directory from ASP.NET application

Time:10-24

I am trying to connect to Azure Active Directory from an ASP.NET application. I am following this article by Microsoft to write the code:

enter image description here

When I change the redirectUri to https://localhost:44368/ then I can see the Microsoft login and Microsoft accepts the userId too, but I get an error after inputting my password saying :

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application:

Any help will be highly appreciated.

CodePudding user response:

The error says it all. You have to check in App Registrations > Manage > Authentication > Redirect URL and see if the URL https://localhost:44368/ is configured there or not. If its configured, you will be able to get the required response for sure.

  • Related