Managing external identities to enable secure access for partners, customers, and other non-employees
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:
- 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.
- 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.
- Follow the guidance for clearing cache and cookies:
- 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.
- 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.
- 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: