Share via

Error code: AADSTS5000225 - how do I fix this?

Jose Maria Abreu 20 Reputation points
2025-06-16T12:45:32.7866667+00:00

Hello, I would like to obtain a API key for my hotmail address. Can you please help fix this error so that I can get this? Thanks

Microsoft Security | Microsoft Entra | Other
0 comments No comments

3 answers

Sort by: Most helpful
  1. Ski Fisc 10 Reputation points
    2025-11-07T14:59:59.57+00:00

    Unfortunately, this answer doesn't help someone with a new free Azure account and yet gets this error message

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2025-06-17T01:27:03.74+00:00

    Hello @Jose Maria Abreu

    The error message you encountered indicates that your tenant has been inactive for over 200 days past the billing cycle, triggering Microsoft’s effort to remove inactive tenants. When a tenant remains inactive for this period, the OMS commerce system imposes a login block (AADSTS5000225). Twenty days after the login block is applied, the tenant is permanently deleted.

    Tenant inaccessible due to inactivity

    If you plan to unblock your inactive tenant, it’s essential that it has been blocked for less than 20 days. After the 20-day period, the tenant is permanently deleted and cannot be recovered.

    If it has been less than 20 days since the block, please provide the following details for further assistance:

    Tenant ID:

    Error Code:

    Correlation ID from the recent failure:

    Timestamp from the recent failure:

    Business impact and justification for restoring the tenant, and an explanation of the impact if the tenant cannot be restored

    Note: If it's a test tenant, please re-create a new tenant for testing purposes.

    Quickstart: Create a new tenant in Microsoft Entra ID

    If you have above details, please provide in Private message.

    Hope this helps.

    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.