Business Central Admin Center API - Authorized Microsoft Entra apps

Authorized Apps are Microsoft Entra apps authorized to call the Business Central administration center API.

Note

Endpoints on this page cannot be used when authenticated as an app.

Get Authorized Microsoft Entra apps

Returns the Microsoft Entra apps that are authorized to call the Business Central administration center API for the specified Microsoft Entra tenant.

GET /admin/v2.21/authorizedAadApps

Response

[
    {
        "appId": "00000000-0000-0000-000000000000",
        "isAdminConsentGranted": false
    },
    {
        "appId": "11111111-1111-1111-111111111111",
        "isAdminConsentGranted": true
    }
]

Authorize Microsoft Entra app

Authorizes a Microsoft Entra app to call the Business Central administration center API for the specified Microsoft Entra tenant. This does not grant admin consent or assign permission sets in environments to the Microsoft Entra app.

PUT /admin/v2.21/authorizedAadApps/<appClientId>

Response

{
    "appId": "00000000-0000-0000-000000000000",
    "isAdminConsentGranted": false
}

Remove Microsoft Entra app

Removes a Microsoft Entra app authorized to call the Business Central administration center API for the specified Microsoft Entra tenant. This does not revoke admin consent in Microsoft Entra ID nor remove permission sets assigned to the Microsoft Entra app in environments.

DELETE /admin/v2.21/authorizedAadApps/<appClientId>

See Also

The Business Central Administration Center API
Manage Apps
Microsoft Dynamics 365 Business Central Server Administration Tool