Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

OAuth 2.0 Client Credential grant type for Business Central

(0) ShareShare
ReportReport
Posted on by 10

I am attempting to connect to any of the Business Central Web Services via postman using the grant type client_credentials. 

I can receive a token from the call below ok:

pastedimage1660908081661v1.png

However, if I attempt to use this token in the call below I receive error 401.

pastedimage1660908168523v2.png

I have the App Registration set up with the following granted permissions:

pastedimage1660908202921v3.png

I also have the Azure Application registered and granted in Business Central.

Any help is appreciated. 

  • TESDEveloper Profile Picture
    10 on at
    RE: OAuth 2.0 Client Credential grant type for Business Central

    Resolved:

    My issue was using the incorrect token URL.

    Correct URL:

    login.microsoftonline.com/{Tenant ID}/oauth2/v2.0/token

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans