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,230 points
867 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

Hope this helps!

Check out Azure architect certification and become certified.

Thanks!

answered Nov 10, 2020 by MD
• 95,440 points

edited Jul 4, 2023 by Khan Sarfaraz

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
21,107 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,090 points
13,739 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
4,240 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 14, 2018 in Azure by null_void
• 3,220 points
18,824 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,440 points
440 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 16, 2020 in Azure by MD
• 95,440 points
549 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP