Share via

Getting below error while login to Azure

Tahir Syed 0 Reputation points
2025-02-04T08:14:42.6533333+00:00
{
  "sessionId": "ff03517f72c74f49a7693916bba85c5f",
  "errors": [
    {
      "errorMessage": "interaction_required: AADSTS160021: Application requested a user session which does not exist. Trace ID: 161bb13d-4c52-4723-9076-b95c7fb40500 Correlation ID: b9ccd65e-47c6-4002-9503-8297fbca6ef1 Timestamp: 2025-02-04 08:13:35Z",
      "clientId": "74658136-14ec-4630-ad9b-26e160ff0fc6",
      "scopes": [
        "a57aca87-cbc0-4f3c-8b9e-dc095fdc8978/.default"
      ]
    }
  ]
}

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Harshitha Eligeti 4,420 Reputation points Moderator
    2025-02-05T04:36:52.7233333+00:00

    Hi @Tahir Syed
    Thank you for posting your query on Microsoft Q&A.

    I understand that you are trying to login into Azure portal using your personal Microsoft Entra Account and encountering AADSTS160021 error.

    Whenever you sign in Azure portal using Microsoft Personal Account by default you are getting connected to the Microsoft Services tenant. 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.

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

    You will receive an invite email once you are added to an azure tenant and accept it, you can use https://portal.azure.com/#create/Microsoft.AzureActiveDirectory URL to create your own tenant as well.

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

    Best Regards
    Harshitha Eligeti.

    Was this answer helpful?


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.