A cloud-based identity and access management service for securing user authentication and resource access
The error AADSTS5000225 indicates that the Azure tenant tied to the account has been blocked due to inactivity. There are only a few supported ways to regain access, depending on whether the tenant is still within the reactivation window and what level of support is available.
Use these steps in order:
- Try signing in with tenant ID or tenant name
Sometimes the portal sign-in works when the tenant is specified explicitly:-
https://portal.azure.com/<TenantId> - or
https://portal.azure.com/<yourTenantName>.onmicrosoft.com
-
- If the tenant is newly created and on a free trial, re-enter via the signup flow
For some blocked free tenants, going back through the Azure signup experience with the same Microsoft account can surface an option to continue or upgrade the existing free subscription instead of creating a new one. This is how one user with the same AADSTS5000225 error was able to regain access and then use Azure normally again. - Request tenant reactivation from Microsoft (time‑limited)
Tenants blocked for inactivity can be reactivated only for a limited period:- Administrators can request reactivation within 20 days of the tenant entering the inactive state.
- After 20 days in this state, the tenant is deleted and cannot be recovered.
- If the tenant cannot be reactivated
If support confirms that the tenant is past the reactivation window or otherwise cannot be restored, the only remaining option is to create and use a new tenant. One documented workaround is:- Sign in to the Microsoft Entra admin center (
https://entra.microsoft.com/) with the same account. - Go to Entra ID → Overview → Manage tenants and create a new tenant. Note its domain name (for example,
newtenant.onmicrosoft.com). - Then access the Azure portal using that new tenant name in the URL, for example:
https://portal.azure.com/newtenant.onmicrosoft.com.
- Sign in to the Microsoft Entra admin center (
If none of the portal sign-in variations work and the tenant is still within the 20‑day inactive window, contacting Microsoft support as the tenant admin is required; self-service alone cannot unblock the tenant.
References:
- Troubleshoot Azure subscription sign-in issues
- Error message: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A Sign-in failed. I signed up for a free account so I could complete Azure training, and got the email with "Welcome to Azure
- 7 Day Old Azure Account: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A
- Troubleshoot sign-in issues and account access problems