AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '037377b0-20eb-4d35-b6d7-a723dd17d3ad'.

2020-09-28T09:16:08.65+00:00

Can you help me understand what I need to specify for the redirect URL?

I have given http://localhost:8080/ in the redirect URL.

When I run it, got the below error:

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '037377b0-20eb-4d35-b6d7-a723dd17d3ad'.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,572 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. soumi-MSFT 11,771 Reputation points Microsoft Employee
    2020-09-28T09:32:12.357+00:00

    @Senthilkumar Vasuki Pattilingam (RBEI/ECQ2) , Thank you for reaching out. This error [AADSTS50011] when the redirect URI specified in the request to AAD does not match with the redirect URL mentioned in the App Registration of that Application (in this case the application with App ID is: 037377b0-20eb-4d35-b6d7-a723dd17d3ad) in AAD.

    I would suggest you check the app registration blade for the following App ID "037377b0-20eb-4d35-b6d7-a723dd17d3ad" in your AAD tenant and check the redirect URL if that matches with the redirect URL of the request that is being sent from your application to AAD for authentication.

    You can refer to the screenshot below for more details

    28676-applicationregister.png

    If the above step doesn't help you, then please do share the following details with us to help you better:

    1. Actual request from Application to AAD.
    2. Screenshot of the Authentication Blade of the application from the App Registration section in AAD.
    3. The entire error message along with the correlationID and timestamp.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.


  2. soumi-MSFT 11,771 Reputation points Microsoft Employee
    2020-09-29T08:18:27.967+00:00

    @Senthilkumar Vasuki Pattilingam (RBEI/ECQ2) , This is Jenkins erroring out. Is AAD again throwing any errors? If yes, do share that error's correlationID and timestamp and I can help you find a reason and a fix to it.

    But if AAD has done the authentication and shared the Access-Token with Jenkins and then somehow Jenkins is erroring out, then it's beyond our area of expertise and you would need to connect with the Jenkins Support team to help you further.

    I would recommend you check this link out if not already: https://medium.com/@seifeddinemouelhi/configure-azure-active-directory-with-jenkins-e6ea31fb833e
    [Disclaimer]: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.