Forum Discussion
Response AADSTS500014 error
Before a few months the subscription create & update was working normally, but now for some unknown reason i receive this response.
pekaras -Please verify these below steps:
-
Check if your subscription is active and not expired. If it has expired, you will need to renew it.
-
Verify if the application is enabled in your Azure AD portal. Make sure that the application is not disabled by the administrator. You can check this by going to the Azure AD portal and navigating to the "App registrations" section.
-
Ensure that the necessary permissions are granted to the application, and you have the necessary permissions for creating subscriptions in Teams.
- muhammaddApr 08, 2025Copper Contributor
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- Prasad_Das-MSFTApr 08, 2025
Microsoft
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.
- Log in to Azure Portal:
- ChetanSharma-msftSep 02, 2023
Microsoft
Hello pekaras - Please confirm whether your issue has resolved or still looking for any help?