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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

API testing in Postman using OAth2.0. Successful token authentication but credentials error

(0) ShareShare
ReportReport
Posted on by 7

Hi, I’m trying to test an API from business central online with OAuth 2.0
I created the azure app, configured the api permissions, the secrets and all that.
When I enter the values in postman, I get the token but when I call the API I’m getting the 401 error.

/image/

After that, I use the token and try to call the API but I get this error:

 

These are my values:

 

And I’m calling one of the standard APIs that come with business central. I just copy and paste it.

I have the same question (0)
  • Kevin Roman Profile Picture
    7 on at
    Sorry, these are the images.
     
    image
     
    image
     
    image
  • Suggested answer
    Rajvi Khushbu Profile Picture
    16 on at
    Below is a link that may be helpful:
     
     
    If you are still unable to resolve the issue, please let me know, and I can guide you through an alternate solution
     
  • Suggested answer
    YUN ZHU Profile Picture
    102,791 Super User 2026 Season 2 on at
    Hi, so strange issue, I have not encountered it, I hope the following test can give you some hints.
    Using OAuth to connect Business Central APIs and Web Service in Postman
    https://yzhums.com/20690/
     
    Thanks.
    ZHU

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 626 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 425 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 384 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans