URL Redirect error with Microsoft Graph using https

J Power 20 Reputation points

We were able to get search information using the POST method while testing with http://localhost:3000. However, now that we have moved to https we are unable to get a connection to the data. The user can log into the Graph API but when attempting to get the information it throws a AADSTS50011 redirect URL error. We have checked and the redirect URL's match.

Could this be an issue with server certificates or other networking configurations?

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,876 questions
0 comments No comments
{count} votes

Accepted answer
  1. HarmeetSingh7172 4,811 Reputation points

    Hello J Power,

    Thanks for posting!

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

    This error usually occurs when there is a mismatch between the reply URLs defined in the Azure portal and the reply URL the application is providing to Azure AD.

    Azure AD only accepts saved reply URLs which are already defined in Azure Portal.

    The redirect_uri must match one of your registered URIs exactly, including the scheme (http://, https://). Please refer this documentation to fix this.

    References: https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50011-redirect-uri-mismatch

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

0 additional answers

Sort by: Most helpful