Skip to main content
Dynamics 365 Community / Forums / Finance forum / Problem in get an auth...
Answered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 62
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: