Skip to main content

Notifications

Dynamics 365 Community / Forums / Commerce forum / The redirect URI speci...
Commerce forum
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,458 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,458 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 350 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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

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,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans