invalid_resource AADSTS500011

Felipe Campos 6 Reputation points
2021-03-01T15:48:43.247+00:00

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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,492 questions
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.
2,820 questions
{count} vote

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 48,541 Reputation points Microsoft Vendor
    2021-03-02T07:42:03.383+00:00

    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.
    73332-21.png

    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.

    1 person found this answer helpful.