A cloud-based identity and access management service for securing user authentication and resource access
The error message shown is AADSTS50020: User account '...@gmail.com' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application ... The account needs to be added as an external user in the tenant first.
This means the Gmail-based Microsoft account is trying to sign in to the wrong Microsoft Entra tenant ("Microsoft Services"), where that account doesn’t exist as a user. The account itself is not deleted; it just has no presence in that tenant.
To regain access to Azure Portal and Entra:
- Sign out of all Microsoft sessions in the browser.
- Start a new private/incognito browser session.
- Go directly to the Azure portal using the tenant where the Azure subscription and directory were created, not the "Microsoft Services" tenant. Use one of these URL patterns with the correct tenant identifier:
-
https://portal.azure.com/<TenantId> -
https://portal.azure.com/<yourTenantName>.onmicrosoft.com
-
- When prompted, sign in with the same Gmail-based Microsoft account that owns the subscription.
- If the correct tenant is selected, the sign-in should succeed because the account exists in that tenant. If needed, after sign-in, switch directories from the account menu in the top-right of the portal and choose the directory that contains the subscription.
If the account still lands in the wrong tenant and cannot access Azure resources, contact Microsoft support so the tenant that actually holds the subscription can be identified and the account can be added or corrected there.
References: