Authentication BC SaasS API with Ouath2

Hey,

i’m having issue connecting to Sandbox through Postman.

The app is registered in azure aad and necessary permissions is given. i wad able to finish this guide

https://www.kauffmann.nl/2020/09/14/service-to-service-authentication-for-automation-apis-in-business-central/#comment-117471

But, when trying with following api:

https://api.businesscentral.dynamics.com/v2.0//Sandbox/api/v2.0/companies

i get this resonse - 401 unathorized

“error”: {
“code”: “Authentication_InvalidCredentials”,
“message”: "The server has rejected the client credentials. CorrelationId:
}