interaction_required: AADSTS160021:

Dariusz Koteras 0 Reputation points
2025-08-05T15:52:01.1233333+00:00

"errorMessage": "interaction_required: AADSTS160021: Application requested a user session which does not exist. Trace ID: c799eed6-7245-4bd2-abf4-d08011811900 Correlation ID: be9b1cc5-f6c4-4295-bc55-b161b58a5d97 Timestamp: 2025-08-05 15:29:54Z",

  "clientId": "e6694c91-1590-4e35-9bb7-b865c638b9c1",

  "scopes": [

    "959678cf-d004-4c22-82a6-d2ce549a58b8/.default"

  ]
Microsoft Security | Microsoft Entra | Microsoft Entra Internet Access
{count} votes

1 answer

Sort by: Most helpful
  1. Saritha Bandaru 1,705 Reputation points Microsoft External Staff Moderator
    2025-08-19T09:52:27.8333333+00:00

    Hello @Dariusz Koteras

    I Understand that you are getting Interaction required: AADSTS160021: Application requested a user session which does not exist.

    When you try to log in to Microsoft Entra ID by using your personal Microsoft Accounts (Outlook, Hotmail or OneDrive), you are connected to the Microsoft Services tenant by default. Within the default tenant, there is no linked directory for performing any actions. This behavior is expected.

    As this is a standard tenant without any directory associated, you cannot perform actions such as creating new users, groups, enterprise applications, and so on. To perform administrative actions, you must have administrative access to the tenant.

    Solution: For this purpose, you need to create your own tenant rather than using the Microsoft Services tenant.

    To create a new tenant, open in-private/incognito browser window (just to avoid SSO), access https://azure.microsoft.com/en-us/free/ to create a free Azure account.

    When you create a new tenant, you by default become the Global Administrator of the new tenant and have full access to all the options in that tenant.

    If you still want to access Entra portal using your personal Microsoft account only, you can invite that user as a guest user as mentioned here : https://free.blessedness.top/en-us/azure/active-directory/external-identities/add-users-administrator#add-guest-users-to-the-directory and assign the Global Administrator role.

    User's image

    https://free.blessedness.top/en-us/entra/identity-platform/reference-error-codes

    Hope this helps. Do let us know if you any further queries.

    Thanks


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.