Your account has been locked. Contact your support person to unlock it, then try again.

Ivan Valadares 0 Reputation points
2023-05-31T23:51:15.9566667+00:00

My personal account is working ok in hotmail and other Microsoft products but when I try to access to Azure Portal I Get that message. I think my azure directory is also ok because others co-administrator can access to my resources.

Any help?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,716 Reputation points MVP
    2023-06-01T01:00:36.6166667+00:00

    To resolve this error, you can refer to the steps in the troubleshooting guide, "Your account has been blocked. Please contact your support person to unlock it, and try again."

    You can also create a free ticket with the billing team to receive help with this issue.

    https://azure.microsoft.com/en-us/support/

    1 person found this answer helpful.

  2. Sandeep G-MSFT 20,921 Reputation points Microsoft Employee Moderator
    2023-06-05T11:40:34.12+00:00

    @Ivan Valadares

    Your hotmail account is created as a guest account in the tenant. It looks like your account locked due to some reasons.

    You will have to contact global admin of the tenant and ask him to re-enable the account.

    Global admin has to run below commend to re-enable your account.

    Set-AzureADUser -ObjectId "xxxxx.onmicrosoft.com#EXT#@xxxxxxx.onmicrosoft.com" -AccountEnabled $true

    If you do not know who is the global admin you can ask any of you peers to perform below steps to find the global admins.

    • Open Windows PowerShell as administrator.
    • Run command “Install-Module azuread”
    • Once installed you can run command “Connect-AzureAD” and enter user credentials once it asks for.
    • Once you login, you can run command “Get-AzureADDirectoryRole”.
    • From the output you can copy the object ID of Global administrator
    • Run command “Get-AzureADDirectoryRoleMember -ObjectId "Paste the object ID of global admin that was copied earlier"
    • You will get the list of users with global admin role assigned.

    Now you can contact any global admin from the list and ask him/her to re-enable your account from the tenant.

    Let me know if you have any further queries.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

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