how to manage multi tenants?

Qusai Qasem 0 Reputation points
2025-05-19T11:10:55.16+00:00

I manage multi tenants for multiple customer. I want to be able to run a script to automate tasks like :

  1. checking which resources are being used
  2. checking if certain resources has service retirement
  3. deploying changes.

PS. I also do have GDAP rights configured in CSP.

What is the best way to do this ?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,615 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Obinna Ejidike 2,220 Reputation points
    2025-05-19T12:04:38.26+00:00

    Hi Qusai Qasem

    Thanks for using the Q&A platform.
    There is no perfect way of handling all your requests however, I recommend exploring the Azure Lighthouse. Azure Lighthouse enables centralized management of multiple tenants. It gives your service principal or identity access to customer subscriptions without switching directories.

    With its cross-tenant experience, you can work more efficiently with Azure services such as Azure Policy, Microsoft Sentinel, Azure Arc, and many more.

    Find doc: https://learn.microsoft.com/en-us/azure/lighthouse/overview

    Additionally, since you already have GDAP, you can use PowerShell or Azure CLI scripts with the Az module to iterate over customer tenants. You can also use Azure resource graph to detect retired services, and also Terraform to deploy changes across tenants.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Obinna


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.