Hi,
I have successfully created the acess token via url ( https://login.microsoftonline.com/tenantID/oauth2/token )
But when i try to get data using url ( https://api.businesscentral.dynamics.com/v1.0/api/microsoft/automation/beta/companies )
I am getting error
<error xmlns="docs.oasis-open.org/.../metadata">
<code>Unauthorized</code>
<message>The credentials provided are incorrect</message>
</error>
while i prvoded the correct token in header.
Please, can anybody help me to figure out the problem.