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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans