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 :
Small and medium business | Business Central, N...
Suggested Answer

Invalid Credentials for using the API with a trial account

(0) ShareShare
ReportReport
Posted on by 5

Hello. I am trying to make an API call (any operation) with a trial account, using an Azure AD Client ID and Secret.

I can generate my OAUTH2 token without issue. However, I keep getting the following error:

<error xmlns="docs.oasis-open.org/.../metadata">

   <code>Unauthorized</code>

   <message>The credentials provided are incorrect</message>

</error>

This is the url I'm trying to hit:

https://api.businesscentral.dynamics.com/v2.0/XXXX-XXXXX-XXXXXXX/production/api/v2.0/environments

Is this even possible with a trial account?

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    try with postman

    danieleincalza.blogspot.com/.../business-central-bye-bye-basic.html

    DANiele

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans