az account list --refresh

This will show all available subscriptions, for example, as follows.

Use az account set -s <id> to choose a specific subscription.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment