Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Answered

The redirect URI specified does not match the redirect URIs for the app

Posted on by 29
Hello,
 
We have an tier-1 environment with Cloud POS and scale unit on it.
 
The POS was working fine, suddenly it started to trigger that 'setup process', like it has been opened for the first time, but now after the login step, it gives the following error message:
 
Request Id: 437edace-0415-48cf-824c-7d847c5d2e00
Correlation Id: 44eca5e3-1b7d-48b4-80f4-cdb8c3136cd0
Timestamp: 2024-10-03T18:27:41Z
Message: AADSTS50011: The redirect URI 'https://com-devxxxxxxx.cloud.retail.dynamics.com/' specified in the request does not match the redirect URIs configured for the application 'd5527362-xxxx-xxxx-xxxx-xxxxxxxxxx'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal.
 
If I search for the above application id on Azure portal, it does not find any App registration, only an Enterprise application. I cannot find any redirect URI inside the Enterprise application, I don't know what to do anymore.
 
 
Nothing has been changed on this environment, in one day it was fine, and not anymore the day after.
 
Do you guys have any idea what could be the issue?
 
Thanks in advance.
 
Luiz
  • Shafeeque P. Profile Picture
    Shafeeque P. 6,466 Super User 2024 Season 2 on at
    The redirect URI specified does not match the redirect URIs for the app
    Happy that it helped. It happened with us as well. The POS that was working for more than 6 months stopped working one day.
  • Luiz C. Ventura Profile Picture
    Luiz C. Ventura 29 on at
    The redirect URI specified does not match the redirect URIs for the app
    It worked!
     
    The question is... why did it stop working? I haven't changed anything there. Or maybe better, how did it work before, since the parameters were all wrong? hahaha
     
    Thank you for the help.
  • Verified answer
    Shafeeque P. Profile Picture
    Shafeeque P. 6,466 Super User 2024 Season 2 on at
    The redirect URI specified does not match the redirect URIs for the app
    Do you have any custom code on this environment ? You will need to do some changes. You can refer the below link for more details. The post is little old, but still works.
     
  • S Gopi Krishna Profile Picture
    S Gopi Krishna 351 on at
    The redirect URI specified does not match the redirect URIs for the app
    Normally an Enterprise application in Azure would require an app registration created in the backend. May be you might not have right access permissions to view the corresponding App registration in Azure portal.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans