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?