Share via

I'm getting error after login to https://portal.azure.com/

Tejas Mistry 20 Reputation points
2026-03-14T05:05:54.7633333+00:00
{
  "sessionId": "f0934ad9078940d5b4311a4217883999",
  "errors": [
    {
      "errorMessage": "interaction_required: AADSTS160021: Application requested a user session which does not exist. Trace ID: 57c0980e-72cb-4c94-866b-2cc0c1562800 Correlation ID: 50908a95-ff55-497e-ae93-d17aad6cf80b Timestamp: 2026-03-14 05:04:01Z",
      "clientId": "74658136-14ec-4630-ad9b-26e160ff0fc6",
      "scopes": [
        "a57aca87-cbc0-4f3c-8b9e-dc095fdc8978/.default"
      ]
    }
  ]
}
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

Answer accepted by question author

AI answer

2026-03-14T05:06:08.4566667+00:00

The error indicates a sign-in/session problem in Microsoft Entra ID, not an authorization or subscription issue. The portal is trying to use a user session that no longer exists (AADSTS160021: Application requested a user session which does not exist). This typically happens when a cached sign-in state or cookie is stale or corrupted.

Use these steps in order and retry https://portal.azure.com after each step:

  1. Force a fresh sign-in session
    • Open a private/incognito window in the browser.
    • In that private window, go directly to the Azure portal and sign in again.
    • This bypasses existing cookies and often resolves stale-session errors.
  2. Clear browser cache and cookies for Microsoft sites
    • Follow the guidance for clearing cache and cookies:
      • In Edge: Settings → Privacy and Services → Clear browsing data → select Browsing history, Download history, and Cached images and files, then delete.
      • In Chrome: Settings → Privacy and Security → Clear browsing data.
    • Close all browser windows, reopen the browser, and sign in to the Azure portal again.
  3. Try a different browser
    • If using Edge, try Chrome or another supported browser, or vice versa.
    • This helps rule out browser-specific cookie or extension issues.
  4. If the portal page hangs or keeps looping
    • Use the private browsing mode as described above and confirm that the page fully loads.
    • If it still hangs, repeat the cache/cookie clear and try again.
  5. If sign-in errors persist with different browsers and cleared cache
    • Capture the full error (including the correlation ID and timestamp already shown in the JSON) and open a support request, as the issue may be on the service side or tenant-specific.

References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Thanmayi Godithi 10,570 Reputation points Microsoft External Staff Moderator
    2026-03-16T17:40:14.68+00:00

    Hello @Tejas Mistry ,

    Based on your description, it appears that you have created a Microsoft personal account, not an Azure work or school account. This is why you’re encountering errors when trying to access the Azure Portal.

    Issue: When users try to login to Azure portal using their personal Microsoft Account (Outlook, Hotmail..) they are getting AADSTS160021 or AADSTS16000 or AADSTS50020 errors.

    Reason: When signing in to the Azure portal with a personal Microsoft account, you are automatically connected to the Microsoft Services tenant.

    You can verify this by navigating to Microsoft Entra ID > Overview, where you’ll see this Tenant ID.

    This default tenant does not have a directory associated with it, which you can confirm by going to the Settings blade. As a result, you cannot perform administrative actions such as:

    • Creating users or groups
    • Registering enterprise applications
    • Managing resources

    In short, it’s a system tenant with restricted capabilities, and administrative access is not granted by default.User's image

    Solution: To fully utilize the Azure portal, you need to create your own tenant instead of relying on the Microsoft Services tenant.

    Follow these steps:

    1. Open an in-private/incognito browser window (to avoid automatic sign-in via SSO).
    2. Navigate to https://azure.microsoft.com/en-us/free/ to sign up for a free Azure account.
    3. During the setup, you’ll be prompted to create a new directory (tenant). Once completed, you will become the Global Administrator of this new tenant, giving you full access to manage Azure resources.

    User's image

    Let me know if you need help with the sign-up process or configuring your new tenant.

    If you already have an existing tenant and still unable login, please share your email address over private message which used to login into Azure Portal.

    Was this answer helpful?

    0 comments No comments

Your answer

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