Steps
In the Azure Active Directory admin center, open your app and select the API permissions section, then select the Add a permission action.
.png)
On the page that opens, grant your app permissions for accessing the Dynamics 365 Microsoft Dynamics 365 Business Central database.
.png)
After confirming the selection, the API permissions page looks like this:
.png)
Note
Registering the Anywhere Portal as an app in Azure Active Directory is based on Microsoft documentation.
Granting the Azure app rights is based on Microsoft documentation.
For service-to-service (S2S) authentication, see Microsoft documentation.