-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Managing Tenant-Level Resources #24146
Copy link
Copy link
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 teamact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
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 teamact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
I'm trying to get a grasp of using Azure's API coming from AWS... I can successfully run
az loginto authenticate to one of my organization's Azure subscriptions then run something likeaz group listto list the resource-groups associated with that subscription.I'm running into an issue where I'm trying to manage tenant-level resources.
Example:
I want to manage the secret for a particular App Registration application. I'm internally told to login to the tenant like so:
az login --tenant <insert-tenant-id> --allow-no-subscriptions.Then when I run
az account list -o tableI notice that I have successfully authenticated to the tenant specific account.My issue/question arises when I'm trying to use the CLI to query the "tenant". I constantly receive errors like the one below.
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login --tenant <insert_tenant_id> --no-allow-subscriptionsaz group listExpected Behavior
Environment Summary
Additional Context