Skip to content

Authentication failed: AADSTS5000225: This tenant has been blocked due to inactivity #32031

Closed

Description

@R0bert0r

Describe the bug

I am unable to log in because of the following error:

Authentication failed

interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity. To learn more about tenant lifecycle policies, see https://aka.ms/TenantLifecycle Trace ID: 8d34bf3d-0db5-43b0-b795-0c280a1b6700 Correlation ID: 32b25d4a-dc6a-402e-98f7-d50fd71c820f Timestamp: 2025-08-31 17:19:39Z. ($error_uri)

Related command

az login --tenant c66a421f-b518-4392-b3be-19b027529d6f

Errors

Authentication failed

interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity. To learn more about tenant lifecycle policies, see https://aka.ms/TenantLifecycle Trace ID: 8d34bf3d-0db5-43b0-b795-0c280a1b6700 Correlation ID: 32b25d4a-dc6a-402e-98f7-d50fd71c820f Timestamp: 2025-08-31 17:19:39Z. ($error_uri)

Issue script & Debug output

Authentication failed

interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity. To learn more about tenant lifecycle policies, see https://aka.ms/TenantLifecycle Trace ID: 8d34bf3d-0db5-43b0-b795-0c280a1b6700 Correlation ID: 32b25d4a-dc6a-402e-98f7-d50fd71c820f Timestamp: 2025-08-31 17:19:39Z. ($error_uri)

Expected behavior

I should be taken to the Azure CLI prompt

Environment Summary

az version
{
"azure-cli": "2.76.0",
"azure-cli-core": "2.76.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}

Additional context

No response

Activity

  1. added
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Aug 31, 2025
  2. yonzhan commented on Aug 31, 2025

    @yonzhan
    Collaborator

    Thank you for opening this issue, we will look into it.

  3. github-actions commented on Aug 31, 2025

    @github-actions

    Here are some similar issues that might help you. Please check if they can solve your problem.


    Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

    Solution 1:

    Found this article which has allowed me to revert back to browser-based login from Windows Command Prompt, but not from Powershell (see Dilan Perera answer). Indeed, have been experiencing the Powershell window locking up completely when trying to az login - not sure if there are modal windows open elsewhere that I cannot access? Could do without this grief when working with the CLI!

    https://stackoverflow.com/questions/76444493/az-login-suddenly-stopped-working-in-my-command-prompt

    Reference:

    Solution 2:

    Could you please collect the WAM logs for this issue?

    Reference:

    Powered by issue-sentinel

  4. added
    Azure CLI TeamThe command of the issue is owned by Azure CLI team
    questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
    on Aug 31, 2025
  5. removed
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Aug 31, 2025
  6. added this to the Backlog milestone on Aug 31, 2025
  7. jiasli commented on Sep 1, 2025

    @jiasli
    Contributor

    This error AADSTS5000225: This tenant has been blocked due to inactivity. is not caused by Azure CLI. Instead, you may contact your tenant administrator or Microsoft Entra support.

  8. changed the title [-]Authentication failed[/-] [+]Authentication failed: AADSTS5000225: This tenant has been blocked due to inactivity[/+] on Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions