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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 101 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans