invalid_resource AADSTS500011

Felipe Campos 1 Reputation point

My application was working without any problems, when suddenly the app had a white screen and printing the following error on the console:

AUTHMSAL: Event: adal:tokenRenewFailure, code: invalid_resource|AADSTS500011: The resource principal named https://... was not found in the tenant named <Directory ID>. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.
Trace ID: <Trace ID>
Correlation ID: <Correlation ID>
Timestamp: 2021-03-01 15:38:07Z, resource: https://..., action: resourceDisabled

Any help?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,705 questions
Microsoft Graph Teamwork API
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 34,506 Reputation points Microsoft Employee

    Hi @FelipeCampos-6283,

    Are you using Microsoft Teams application?

    Does this issue persist on other Office applications?

    According to your error message, this issue is possibly the authentication request sent to the wrong Azure AD. In this case, we firstly recommend you verify if the error message’s tenant ID is the same as your tenant ID. If you don’t know your tenant ID, you need to login Azure Active Directory Admin center and click “Properties” on the left hand side navigation, then you can see your Directory ID in your tenant.

    In addition, to exclude the client issue, you can try to login Teams web client. If you can login normally, please try to clear your client cache file in Microsoft Teams and make sure you have the newest version of client.

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.