List All Azure subscriptions using domain name

Vinay Bhardwaj 0 Reputation points


I have a customer (lets say that has given free hand to their employees to create Azure paid subscriptions.

The customer does not have the overview of how many azure tenants & Subscriptions they have & the billing overview.

Is there a way to list all the subscription IDs & tenant IDs using just the domain name i.e.



Azure Lighthouse
Azure Lighthouse
An Azure service that provides secure managed services and access control for partners and customers.
68 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 98,626 Reputation points MVP

    Hi @Vinay Bhardwaj ,

    maybe this PowerShell snippet is helpful:

    $domainName = "<YourDomainName.SomeThing>"
    $tentant = Get-AzTenant | Where-Object {$_.Domains -contains $domainName}
    Get-AzSubscription -TenantId $tentant

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)


    Andreas Baumgarten

    0 comments No comments