Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Problem in get an authorization code for F&O account authentication

Posted on by 72
Hello,
 
I am trying to achieve an authorization code grant flow and following this link - https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow
 
After browsing a get link like below, I can be able to add my credential but after that some error message displayed like below image instead of redirecting me to my provided redirect_url in the request.
 
Please help to figure out what is the problem here? 
 
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?
client_id=535fb089-9ff3-47b6-9bfb-4f1264799865
&response_type=code
&redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F (here I used my localhost redirect url.)
&response_mode=fragment
&scope=https%3A%2F%2Fgraph.microsoft.com%2Fmail.read
&state=12345 
 
 
  • Verified answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Problem in get an authorization code for F&O account authentication
    Hi,
    There may be a problem with the configuration of the Azure AD application. The redirect URI specified in the authentication request needs to match the URI registered in F&O's Azure AD application. You can refer to the link below which provides similar problems to yours and solution to the problem. You can view the sub-links to set up.
    Azure Auth Token - AADSTS500113: No reply address is registered for the application · Issue #70866 · MicrosoftDocs/azure-docs · GitHub
    Best Regards,
    Hana

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

Product updates

Dynamics 365 release plans