--- id: az title: Azure Subscription sidebar_label: Azure --- ## What Display the currently active Azure subscription information. :::tip PowerShell offers support for the [az][az] module, but it is disabled by default. To enable this, set `$env:POSH_AZURE_ENABLED = $true` in your `$PROFILE` after initializing Oh My Posh. ::: ## Sample Configuration import Config from '@site/src/components/Config.js'; ## Properties | Name | Type | Description | | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `source` | `string` | | ## Template ([info][templates]) :::note default template ```template {{ .Name }} ``` ::: ### Properties | Name | Type | Description | | ------------------ | --------- | -------------------------------------------------------------- | | `.EnvironmentName` | `string` | Azure environment name | | `.HomeTenantID` | `string` | home tenant id | | `.ID` | `string` | subscription id | | `.IsDefault` | `boolean` | is the default subscription or not | | `.Name` | `string` | subscription name | | `.State` | `string` | subscription state | | `.TenantID` | `string` | tenant id | | `.User.Name` | `string` | user name | | `.User.Type` | `string` | user type | | `.Origin` | `string` | where we received the information from, can be `CLI` or `PWSH` | [templates]: /docs/configuration/templates [az]: https://www.powershellgallery.com/packages/Az