Share via

AADSTS5000225: This tenant has been blocked due to inactivity

Satish Kumar 5 Reputation points
2026-05-08T15:28:03.06+00:00

I need to fix above Error for my account "AADSTS5000225: This tenant has been blocked due to inactivity"

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-08T15:28:13.4+00:00

    The error AADSTS5000225 indicates that the Microsoft Entra tenant linked to the account has been blocked due to inactivity. Once a tenant is blocked, sign-in to Azure services (including Azure Data Factory) fails until the tenant is reactivated or is permanently deleted.

    Use the following steps depending on tenant status and role:

    1. Determine if tenant can still be reactivated
      • Tenants blocked due to inactivity can be reactivated only within 20 days of entering the inactive state.
      • After 20 days in this blocked state, the tenant is deleted and cannot be recovered.
    2. If within 20 days and you are a tenant administrator
      • A global admin/tenant admin must contact Microsoft to request reactivation.
      • Use the published global support phone numbers: see the global support phone numbers link in the article.
      • Do not open multiple support requests for the same tenant; wait for Microsoft’s decision on the existing case.
    3. If you do not plan to reactivate the tenant
      • Do nothing; the tenant will be deleted after 20 days of being inaccessible due to inactivity and is not recoverable.
      • Review Microsoft’s data protection policies if data retention or deletion is a concern.
    4. If sign-in to the Azure portal is failing generically
      • Try signing in directly to the tenant using the tenant ID or tenant name in the URL, for example:
        • https://portal.azure.com/<TenantId>
        • https://portal.azure.com/<yourTenantName>.onmicrosoft.com
      • If the tenant is blocked, the same AADSTS5000225 error is expected.
    5. If the tenant is already deleted or blocked for more than 20 days
      • The tenant cannot be restored.
      • Create a new tenant and reconfigure Azure Data Factory and other resources as needed.
    6. If access to Azure is needed urgently but the original tenant cannot be recovered
      • Sign in to https://entra.microsoft.com/.
      • Go to Entra ID → Overview → Manage tenants and create a new tenant.
      • Use the new tenant’s domain name (for example, xxx.onmicrosoft.com) in the Azure portal URL: https://portal.azure.com/xxx.onmicrosoft.com.
      • From the new tenant, recreate required Azure Data Factory instances and other resources.

    For any scenario where the tenant should remain active and is within the 20‑day window, the key action is for a global admin to contact Microsoft support and request tenant reactivation.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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