Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Problem in get an auth...
Finance forum
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 
 
 
Categories:
  • 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans