Forum Discussion
pekaras
Aug 01, 2023Copper Contributor
Response AADSTS500014 error
Good morning. I have created a new app registration and grant to it the recommended permissions as described in the official documentation. STEP 1: I receive an access token successfully. S...
Prasad_Das-MSFT
Microsoft
Aug 02, 2023pekaras - Could you please try following below steps and let us know if it helps?
- Open https://portal.azure.com with your O365 Tenant Admin account.
- Navigate to: Azure Active Directory
- Navigate to: Enterprise Applications (on the left side bar)
- Navigate to: Microsoft Teams - which will open a Slice for MS Teams settings.
- Click: Properties
- Enable for users to sign-in?: YES
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
pekaras
Aug 02, 2023Copper Contributor
I have enabled the users to sign in, but i still receive the same error.
Before a few months the subscription create & update was working normally, but now for some unknown reason i receive this response.
Before a few months the subscription create & update was working normally, but now for some unknown reason i receive this response.
- Prasad_Das-MSFTAug 03, 2023
Microsoft
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 09, 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?
-