-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAccountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruning
Milestone
Description
For Management Groups, Azure uses different property names in different locations.
| property name @Azure Portal | property name @ az cli | Example value |
|---|---|---|
| Name | displayName |
Production |
| ID | name |
628e99e2-3d07-4b2c-a8cb-725f277a0ed0 |
| - | id |
/providers/Microsoft.Management/managementGroups/628e99e2-3d07-4b2c-a8cb-725f277a0ed0 |
Note that 'name' and 'id' mean different things in different places.
The docs for az account management-group subscription add say that the command has a required parameter --name, which is the "Name of the management group".
So which value is accepted? Is it the display name, is it the guid, or is either fine? (My tests show that it has to be the guid.)
Can you adjust the docs to clarify this?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: b03d9f16-ec30-f9b6-2ba2-3e3647c6ff99
- Version Independent ID: 52e77122-05dd-db99-f82a-6ccba7cbca57
- Content: az account management-group subscription
- Content Source: latest/docs-ref-autogen/account/management-group/subscription.yml
- Service: azure
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAccountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruning