When connecting to Microsoft Dynamics 365 Business Central in Skyvia, you may encounter the following error:
AADSTS650052: The app is trying to access a service '00000015-0000-0000-c000-000000000000' (Microsoft Dynamics ERP) that your organization lacks a service principal for. Contact your IT Admin to review the configuration of your service subscriptions or consent to the application in order to create the required service principal.
This error indicates that Azure AD cannot find the required service principal for the Microsoft Dynamics ERP resource in your tenant. The issue occurs on the Microsoft Azure AD / Business Central side during the OAuth consent process and is not specific to Skyvia.
This error typically appears when:
If no consent prompt appears:
In some Azure environments, the service principal must be created manually before the consent flow can complete. A confirmed workaround is to create the service principal using Microsoft Graph PowerShell by referencing the App ID:
Microsoft Dynamics ERP App ID: 00000015-0000-0000-c000-000000000000
After creating the service principal, retry the connection — the consent window should appear correctly.
If OAuth authentication cannot be completed, you may use Basic Authentication in Skyvia, provided that: