CmdID / az / az account
az account list
Get a list of subscriptions for the logged in account. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--allList all subscriptions from all clouds, including subscriptions that are not 'Enabled'.--refreshretrieve up-to-date subscriptions from server