A cloud-based identity and access management service for securing user authentication and resource access
The error AADSTS5000225: This tenant has been blocked due to inactivity means the Microsoft Entra tenant that backs the Azure subscription created with the GitHub identity has been marked inactive and blocked.
Actions depend on how long the tenant has been inactive:
- If the tenant was blocked less than ~20 days ago
Administrators can request reactivation:- The tenant administrator must contact Microsoft support using the global support phone numbers listed under Tenant inaccessible due to inactivity (see the referenced Q&A guidance).
- Only Microsoft support can remove the inactivity block; there is no self-service unblock for end users.
- If the tenant has been inactive for more than ~20 days
- After 20 days in the blocked state, the tenant is permanently deleted and cannot be recovered.
- In that case, create a new tenant/account to continue using Azure.
Additional practical steps that sometimes help home/free users:
- Try signing in via
https://portal.azure.com/<TenantId>orhttps://portal.azure.com/<yourTenantName>.onmicrosoft.comif the tenant is still recoverable. - If the portal keeps redirecting incorrectly, clear browser cache/cookies or use an InPrivate/Incognito window and sign in again.
- For some free accounts that still have an active tenant but are blocked from the portal, going to
https://signup.azure.comand following the flow to “continue” or “upgrade” an existing free account has allowed users to regain access to the portal while staying on a pay‑as‑you‑go/basic plan.
If none of these options work and support confirms the tenant is deleted, the only option is to create a new Azure tenant and link it to the GitHub or Microsoft account again.
References:
- Error message: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A
- 7 Day Old Azure Account: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A
- Error message: interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity - Microsoft Q&A
- Can not access Azure - Microsoft Q&A