Share via

Unable to login to https://ai.azure.com as part of Azure AI fundamentals course- hangs on authentication spinner

Adrian Furlonger 0 Reputation points
2026-05-21T11:24:58.2866667+00:00

I create a free 30 day account as suggested, however I know I have done this several years ago when I did the Azure Fundamentals course

When I attempt to do one of the exercises which involves logging into https://ai.azure.com it hangs on authentication

further analysis shows that logging into https://portal.azure.com/auth/login/

goes to an error which says this

Sign-in failed

Error code: interaction_required

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: fb57c41a-f287-4680-bd94-82097e8e1400 Correlation ID: 019e4a3b-4347-7cf8-9491-159c4c358ce5 Timestamp: 2026-05-21 11:10:58Z

This makes me think there's a problem of inactivity from the course I did a year or so ago

Any ideas on how to fix?

Azure | Azure Training
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-21T11:25:19.26+00:00

    The error interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity means the Azure AD tenant behind the account has been marked inactive and blocked, so interactive sign-in to Azure (including ai.azure.com and portal.azure.com) no longer works.

    From the documented behavior and similar cases, there are only a few viable paths:

    1. Check if the tenant can still be reactivated (blocked < 20 days)
      If the tenant has only recently been blocked, administrators can request reactivation within 20 days of entering the inactive state. After 20 days, the tenant is permanently deleted and cannot be recovered. Actions:
      • Try signing in explicitly with the tenant in the URL, for example:
        https://portal.azure.com/<TenantId> or https://portal.azure.com/<yourTenantName>.onmicrosoft.com
        (replace with the actual tenant ID or onmicrosoft.com name).
      • If sign-in still fails with the same error and the tenant is within the 20‑day window, the tenant administrator must contact Microsoft using the global support phone numbers to request reactivation. See the guidance under Tenant inaccessible due to inactivity.
    2. If the tenant has been blocked for more than 20 days
      In this case, the tenant is on the path to, or has already been, permanently deleted and cannot be restored. The documented guidance is:
      • The tenant cannot be recovered after 20 days from the block being applied.
      • To continue with Azure training, use a different active tenant or create a new one.
    3. Workaround used in similar free‑trial scenarios
      For some users whose free trial tenant was blocked, the following sequence allowed them to proceed:
      • Open a Chrome (or other browser) incognito/private window.
      • Clear all browser data (cookies, cache, site data) for Microsoft/Azure sites.
      • Go to the Azure signup page (signup.azure.com as per the documented case) and sign in with the same Microsoft account that shows the inactivity error.
      • The system may recognize an existing free account and prompt to “upgrade” to a pay‑as‑you‑go account (often still effectively at a basic/no‑charge level until usage exceeds free limits). Completing this flow re-established access for that user in the referenced case.
    4. If still blocked and no admin or support path is available
      • For training purposes (Microsoft Learn / Azure AI Fundamentals), the practical option is to create or use a different Microsoft account that backs a new, active Azure tenant, then sign in to the labs with that account.

    Because this is a tenant‑lifecycle enforcement, it cannot be fixed purely from the portal UI if the tenant is beyond the reactivation window; it requires either Microsoft support intervention within the allowed time or using a different/new tenant for the course.


    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.