I can't log in Azure and Microsoft Foundry. Please see the uploaded image

Pachara Apinyanant 0 Reputation points
2026-03-21T06:54:39.3233333+00:00

Screenshot_21-3-2026_135154_portal.azure.com

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Oldest
  1. AI answer

    2026-03-21T06:54:59.0433333+00:00

    The screenshot shows error AADSTS5000225: This tenant has been blocked due to inactivity. This means the Microsoft Entra tenant that backs the Azure and Microsoft Foundry access is blocked because it has been inactive beyond the allowed period.

    Key points from the documented behavior:

    • The tenant is blocked after a long period of inactivity (more than 200 days past the billing cycle).
    • When blocked, sign-in to Azure (and any services relying on that tenant) fails with AADSTS5000225.
    • Twenty days after the block is applied, the tenant is permanently deleted and can’t be recovered.

    Actions to take:

    1. Check how long the tenant has been inactive. If it has been blocked for less than 20 days, it may still be unblocked.
    2. If within 20 days, open a support case with Microsoft so support can review and, if possible, unblock the tenant. Use the tenant ID and the error details (error code AADSTS5000225, correlation ID, timestamp) when contacting support.
    3. If the tenant has been blocked for more than 20 days, the tenant is permanently deleted and cannot be restored. In that case, a new tenant and Azure subscription must be created to continue using Azure or Microsoft Foundry.

    If this is tied to an Azure free account that was never fully activated or upgraded, another documented workaround is:

    1. Open a browser in InPrivate/Incognito mode with all browsing data cleared.
    2. Go to https://signup.azure.com and sign in with the same account.
    3. If the sign-up page recognizes an existing free account, follow the prompts to upgrade to a pay-as-you-go account; this can re-enable access when the tenant is still recoverable.

    If none of these steps work, contact Microsoft support with the tenant details as soon as possible, because recovery is only possible within the limited window before permanent deletion.


    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.