Share via

Default Directory has been deauthenticated and is no longer available

Aiday Marlen Kyzy 0 Reputation points
2026-06-10T15:08:56.28+00:00

Hi,

I would like to publish a VS Code extension and for this I need a PAT from Azure. I tried signing into my account and I am getting the error:

The tenant 'Default Directory' has been deauthenticated and is no longer available. Try signing into another tenant from the dropdown below. Error message: 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: 7898f9e7-d462-413f-a168-d97113c60c00 Correlation ID: 019eb208-49b6-710b-9992-739cba6e4766 Timestamp: 2026-06-10 14:55:48Z

How can I authenticate again successfully?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-06-10T15:09:18.4466667+00:00

    The error AADSTS5000225: This tenant has been blocked due to inactivity means the Microsoft Entra tenant backing the “Default Directory” is in an inactive/blocked state. In this state, sign-in and Azure resources (including those needed to create PATs) are not available.

    To authenticate again successfully, the options are:

    1. Check whether the tenant can still be reactivated
      Tenants blocked due to inactivity can only be reactivated within 20 days of entering the inactive state. After 20 days, the tenant is permanently deleted and cannot be recovered. From the documented behavior:
      • When a tenant is blocked due to inactivity, sign-in returns AADSTS5000225.
      • Administrators can request reactivation within 20 days; after that, the tenant is deleted and not recoverable.
      If the tenant has been blocked for less than 20 days:
      • The tenant administrator must contact Microsoft support using the global support phone numbers to request reactivation.
      • Only one assistance request should be open at a time; do not submit multiple tickets for the same issue.
    2. Try accessing the tenant directly by tenant ID or name
      If the tenant is still within the recoverable window and has been reactivated (or is not fully deleted), it may be possible to reach it directly:
      • Sign in to Azure portal using a tenant-specific endpoint, for example:
        https://portal.azure.com/<TenantId> or
        https://portal.azure.com/<yourTenantName>.onmicrosoft.com
      • If access succeeds, Azure DevOps and PAT creation should work again for that tenant.
    3. If the tenant is past the 20‑day window (permanently deleted)
      In this case, the “Default Directory” tenant cannot be recovered:
      • It is necessary to work with a different active tenant to create PATs and publish the VS Code extension.
      • Sign in with another tenant from the account dropdown (as the error suggests) or create a new tenant in Microsoft Entra ID and then use that tenant in Azure DevOps.
    4. Create or switch to a new tenant if needed
      If the original tenant cannot be restored:
      • Sign in to the Entra admin portal (entra.microsoft.com) with the Microsoft account.
      • Go to Entra ID → Overview → Manage tenants and create a new tenant.
      • Note the new tenant’s domain name (for example, newtenant.onmicrosoft.com).
      • Then sign in to Azure portal or Azure DevOps using the tenant-specific endpoint for this new tenant and create a PAT there.

    In summary, successful re-authentication with the original “Default Directory” is only possible if it has been blocked for less than 20 days and the tenant admin gets it reactivated by Microsoft. Otherwise, a different or new tenant must be used to sign in and create the PAT needed for publishing the VS Code extension.


    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.