Skip to content
Azure Lessons
Azure Lessons
  • Home
  • AWS
  • Azure
    • Azure Virtual Machine
    • Azure Active Directory
    • Azure CLI
    • Azure CLI Commands List
    • Azure Cognitive Services
    • Azure Cosmos DB
    • Azure DevOps
    • Azure Functions
    • Azure PowerShell Commands
    • Azure Sentinel
    • Azure SQL
    • Azure Storage
    • Azure Synapse
  • Blogs
  • FREE EBOOK

az account tenant list

February 12, 2025February 3, 2025 by Rajkishore

This article will walk you through the syntax and usage of the az account tenant list Azure CLI command with certain examples.

Table of Contents

  • az account tenant list
    • Syntax
    • Example

az account tenant list

This Azure CLI command helps you to get the list of tenants for your account.

Syntax

az account tenant list

Example

The below command will get you the list of tenants for your account.

az account tenant list

After executing the above command, I got the expected output, as shown below.

[
  {
    "id": "/tenants/1c93a0aa-e46f-4d02-9eea-bb1efbbe5aaf",
    "tenantId": "1c93a0aa-e46f-4d02-9eea-bb1efbbe5aaf"
  },
  {
    "id": "/tenants/362d9363-d907-42c9-b2a1-559869fb41a7",
    "tenantId": "362d9363-d907-42c9-b2a1-559869fb41a7"
  },
  {
    "id": "/tenants/8a624f5e-fc55-4d8b-9528-cf4ffc9c504a",
    "tenantId": "8a624f5e-fc55-4d8b-9528-cf4ffc9c504a"
  },
  {
    "id": "/tenants/5d9d690a-0310-474d-ae8b-42df2d549228",
    "tenantId": "5d9d690a-0310-474d-ae8b-42df2d549228"
  },
  {
    "id": "/tenants/72f988bf-86f1-41af-91ab-2d7cd011db47",
    "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
  },
  {
    "id": "/tenants/d6bc6a4b-c027-450d-b8c5-32bb37efa727",
    "tenantId": "d6bc6a4b-c027-450d-b8c5-32bb37efa727"
  }
]

You can see the same output in the screenshot shown below.

az account tenant list

You may also like following the articles below.

  • az account list
  • Az Account Clear
  • Az account subscription list
  • Az account get-access-token
Microsoft Azure
Rajkishore

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.

Az storage account list
az storage account delete
Subscribe To Our YouTube Channel Subscribe to AzureLessons YouTube Channel

Recent Posts

  • Azure Login
  • Azure Data Studio Download
  • Azure Data Studio
  • Azure Front Door vs Application Gateway
  • Azure Container Apps
  • About Us
  • Contact Us
  • Privacy Policy
  • Sitemap
© 2026 Azure Lessons