Error para sincronizar licencia

operaciones sogrisel 0 Reputation points
2025-05-27T16:16:35.51+00:00

Request Id: 3ff840f6-213e-481f-9241-3b7adac11d00

Correlation Id: a372a89e-bd58-4c4f-b706-547f60a4d34d

Timestamp: 2025-05-27T15:58:09Z

Message: AADSTS50020: User account '******@SOGRISELSAS272.onmicrosoft.com' from identity provider 'https://sts.windows.net/dd93d4fc-8372-47fa-931d-779e0baf52bb/' does not exist in tenant 'sogrisel S.A.S' and cannot access the application 'd3590ed6-52b3-4102-aeff-aad2292ab01c'(Microsoft Office) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Harshitha Eligeti 4,385 Reputation points Microsoft External Staff Moderator
    2025-05-27T20:57:42.5233333+00:00

    Hello @operaciones sogrisel
    The AADSTS50020 error means that the account needs to be added as an external user in the tenant first. It indicates that the Microsoft account you are trying to use is not recognized by the Microsoft Entra Directory tenant. User's image

    To resolve this issue, you need to add the Microsoft account as an external user in the tenant. Here are the steps to add an external user in the tenant:

    1. Sign in to the Microsoft Entra id as a Global administrator or User administrator.
    2. In the Azure portal, select Microsoft Entra ID.
    3. Select Users.
    4. Select New guest user.
    5. Enter the email address of the Microsoft account you want to add.
    6. Select the role you want to assign to the user.
    7. Select Invite.
    8. The user will receive an email invitation to join the tenant; you have to accept the invite.

    Once the Microsoft account is added as an external user in the tenant, you should be able to sign in to the app without encountering the error message.

    You can check the document to resolve the AADSTS50020 error: https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-aadsts50020-user-account-identity-provider-does-not-exist

    Hope this information helps. If you are still facing the issue let us know. Happy to assist you further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.