"This tenant has been blocked due to inactivity" when deploying Azure App Service

Matt Thompson 40 Reputation points
2025-11-20T03:09:46.9466667+00:00

Hello, I am getting the message :"Error message: AADSTS5000225: This tenant has been blocked due to inactivity. To learn more about tenant lifecycle policies, see https://aka.ms/TenantLifecycle"

when attempting to deploying to my Azure App Service from within Visual Studio 2022. This is the only place I get this tenant error message; everything within Azure is tied to one Microsoft account so I am at a loss why this one thing is not working.

User's image

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Answer accepted by question author
  1. Vimal Lalani 2,405 Reputation points Microsoft External Staff Moderator
    2025-11-20T03:57:59.1166667+00:00

    Hi @Matt Thompson

    It seems you may need to re-sign into Visual Studio from the top-right corner and confirm that sync is turned on.
    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.