I was running Postman to try out the Trail Business Central API's. I following the instruction (Access Business Central API) and just wanted to display the metadata for my Business Central account.
I used the following endpoint: https:/api.businesscentral.dynamics.com/v2.0/D365Env/api/v2.0
D365Env is a sandbox I created. I have read many post and have tried adding difference combinations of an APP in Azure but no luck. Keep getting same error. Does anything need to be done in BC that I might have missed.
but get the following error: /Unauthorized The credentials provided are incorrect /
I did get a valid token using my Azure credentials clientID and client_secret.
I also did add API's and API permissions.
Thanks for your help