How do fix office 365 license /tenant error after migrating email services to new microsft tenant from godaddy tenant?

Prabhat Banerjee 0 Reputation points
2023-05-11T02:36:50.6933333+00:00

we have migrated from go daddy to new microsoft tenant outside godaddy. after migrating from go daddy mac user are unable to access their outlook client and office application along with one drive. web version works fine but any local word excel ,one drive gives error like mentioned below

NOTE :user name ,domain name are modified in error and numbers modified in error with XXXXXX

AADSTS50020: User account '******@domainname.com' from identity provider 'https://sts.windows.net/6669bd53-e6db-4c35-bf15-XXXXXXXXXXXX/' does not exist in tenant 'testdomain.com' 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.

Request Id: 155accb6-b33a-451c-9c22-XXXXXXXXXXX

Correlation Id: caf8a0e0-6beb-5f41-bd22-XXXXXXXXXXX

Timestamp: 2023-05-10T16:48:10Z

Message: AADSTS50020: User account '******@domainname.com' from identity provider 'https://sts.windows.net/XXXXXXXXXXX-e6db-4c35-bf15-XXXXXXXXXXXX/' does not exist in tenant 'domainname.com' 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 365 and Office | Install, redeem, activate | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shuning Zhao 0 Reputation points
    2024-02-17T10:53:49.3233333+00:00

    I fixed the exact same issue after migrating from GoDaddy by following this guide: https://learn.microsoft.com/en-us/sharepoint/troubleshoot/sync/sign-into-onedrive-sync-app-error

    What I did was:

    1. Start Registry Editor.
    2. Locate the following registry entry: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
    3. Right-click Identity, and then select Delete.
    4. Remove all folders in the following locations:
      • %localappdata%/Microsoft/OneAuth
      • %localappdata%/Microsoft/IdentityCache
    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.