You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Authentication failed: AADSTS5000225: This tenant has been blocked due to inactivity #32031
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": {}
}
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!
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.
changed the title [-]Authentication failed[/-][+]Authentication failed: AADSTS5000225: This tenant has been blocked due to inactivity[/+]on Sep 1, 2025
Activity
yonzhan commentedon Aug 31, 2025
Thank you for opening this issue, we will look into it.
github-actions commentedon Aug 31, 2025
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
jiasli commentedon Sep 1, 2025
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.[-]Authentication failed[/-][+]Authentication failed: AADSTS5000225: This tenant has been blocked due to inactivity[/+]