Skip to main content

Notifications

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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 87

Overall leaderboard

Product updates

Dynamics 365 release plans