az account list

From wikieduonline
Jump to navigation Jump to search

az account list
az account list | grep id


[
 {
   "cloudName": "AzureCloud",
   "homeTenantId": "XXXXXXXXXXXX",
   "id": "xxxxxx-3bca-46ed-a141-yyyyyy",
   "isDefault": true,
   "managedByTenants": [],
   "name": "Azure subscription 1",
   "state": "Enabled",
   "tenantDefaultDomain": "xxxxx.onmicrosoft.com",
   "tenantDisplayName": "Default Directory",
   "tenantId": "2xxxxxxx",
   "user": {
     "name": "[email protected]",
     "type": "user"
   }
 }
]

Related

See also

Advertising: