
I’m integrating with Dynamics 365 Business Central Online using Microsoft Entra ID OAuth v2.
Flow
Authorize: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Token: https://login.microsoftonline.com/common/oauth2/v2.0/token
I can successfully obtain an access token (and refresh token), but when I call the Business Central environments endpoint:
GET https://api.businesscentral.dynamics.com/environments/v1.1
The request does not return anything useful (no environments / empty response / effectively “nothing”). (Happy to share exact HTTP status + response body/headers.)
What I’m trying to understand
What Entra user role / permission is required to consent to the Business Central API in a multi-tenant scenario?
What exact scope / permission should be requested so that the token works for the environments endpoint?
Can a normal user consent to delegated BC scopes, or is admin consent required?
Should the scope be https://api.businesscentral.dynamics.com/.default (app-only) or a delegated scope (ex: user_impersonation)?
/environments/v1.1 will return data?Any guidance on the correct permissions/consent model for Business Central’s environments endpoint would be appreciated.
Thanks!
✅ Tick the checkbox below to mark the answer as verified, if it helped resolve your question.