web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

D365 V8.1 On Premises ADFS2 OAuth 2.0 token generate 401 error

(0) ShareShare
ReportReport
Posted on by

I am trying to generate a OAuth 2.0 token for accessing WebAPI.  I am using postman to get the OAuth Token. 

i am following this blog to generate the token 

https://www.cloudriven.fi/en/cloud-9-videos/how-to-do-a-dynamics-365-web-api-request-using-oauth2/

Following is my setting as it appears on postman

70013.PNG

When do i click on the request token button nothing is coming just blank page. Any help. Thank you

Even I tried grant type - password as well. In the below attachment in this I'm getting error message. 

Could not complete OAuth 2.0 login. Check Postman Console for more details.

401Unauthorized
47041.PNG
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans