How to list the subscriptions of a Azure account

0 votes

Hi Guys,

I am new to Azure. I want to list all the subscriptions available in the account with the CLI command. How can I do that?

Nov 10, 2020 in Azure by akhtar
• 38,210 points
94 views

1 answer to this question.

0 votes

Hi@akhtar,

You can get all the subscriptions for a logged account in Azure. You need to run the below command from your CLI.

$ az account list --output table
Name                CloudName    SubscriptionId                        State    IsDefault
------------------  -----------  ------------------------------------  -------  -----------
Azure for Students  AzureCloud   xxxxxxxxxxxxxxxxxx  Enabled  True
answered Nov 10, 2020 by MD
• 95,300 points

Related Questions In Azure

0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
12,075 views
0 votes
2 answers

How can I download a .vhd image to my local machine from azure and upload the same to a different azure account?

From the Windows Azure Portal you can ...READ MORE

answered Aug 20, 2018 in Azure by Priyaj
• 58,140 points
11,288 views
0 votes
1 answer

How to determine the number of messages in an Azure Services Bus Queue?

You will get error when you try ...READ MORE

answered Jun 12, 2018 in Azure by null_void
• 3,220 points
2,594 views
0 votes
1 answer

How can we load a list of Azure blob files recursively?

Actually, there's a simpler way to do ...READ MORE

answered Aug 13, 2018 in Azure by null_void
• 3,220 points
11,666 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to set the subcription in the Azure account?

Hi@akhtar, You can set your required subscription to ...READ MORE

answered Nov 10, 2020 in Azure by MD
• 95,300 points
58 views
0 votes
1 answer

How to export the template used for a deployment in Azure?

Hi@akhtar, You can export the deployment available in ...READ MORE

answered Nov 15, 2020 in Azure by MD
• 95,300 points
91 views