Azure - Tenant

About

The tenant seems to be the active directory domain.

One tenant = one organisation.

Management

Show

from the Azure portal > ? > Show diagnostics

{
      "id": "398061b4-4a6f-4301-9720-8fe4ac6d75f4",
      "domainName": "tenantName.onmicrosoft.com",
      "displayName": "tenantDisplayName",
      "isSignedInTenant": true
}

ID

The value is a sort of hash value. Example: c81da1d8-65ca-11e7-b1d1-ecb1d756380e

  • In the portal

_

azure login
azure account show

# One value
azure account show --json | jq -r '.[0].tenantId'
az account show --subscription a... | jq -r '.tenantId'
https://management.azure.com/subscriptions/{subscription-id}?api-version=2015-01-01

Documentation / Reference


Powered by ComboStrap