Forum Discussion
Response AADSTS500014 error
Hi, Prasad_Das-MSFT I'm a d365 F&O developer facing the same error as
{
"error": "invalid_resource",
"error_description": "AADSTS500014: The service principal for resource 'https://usn********.cloud.onebox.dynamics.com/' is disabled. This indicate that a subscription within the tenant has lapsed, or that the administrator for this tenant has disabled the application, preventing tokens from being issued for it. Trace ID: feb47548-f0ba-40-8c3-f5347add00 Correlation ID: 8e25-ccd-4fa6-90ae-f959899 Timestamp: 2025-04-07 19:56:45Z",
"error_codes": [
500014
],
"timestamp": "2025-04-07 19:56:45Z",
"trace_id": "feb47548-f0ba-4db0-83c3-f5347ad90d00",
"correlation_id": "86a59e25-cc6d-4fa6-90ae-f95728a99899"
}
Even my subscription in ms entra ID is valid and using it with the organization, credentials are valid while I provided in postman for the authentication access, can you please guide about this how to solve this issue?
or can you please link to the relevant solution. It would be highly appreciated
Regards
The error AADSTS500014: The service principal for resource '<resource>' is disabled indicates that the service principal for the specified resource (in this case, your Dynamics 365 F&O environment) is either disabled or misconfigured in Azure Active Directory (AAD). This can happen due to several reasons, such as a lapsed subscription, disabled application, or misconfigured permissions.
- Log in to Azure Portal:
- Go to Azure Active Directory.
- Navigate to Enterprise Applications:
- In the left-hand menu, select Enterprise Applications.
- Search for the Service Principal:
- Search for the application corresponding to your Dynamics 365 F&O environment
- Check the Status:
- Ensure the service principal is enabled. If it is disabled, enable it.