Related command
az account get-access-token
Is your feature request related to a problem? Please describe.
Azure/azure-sdk-for-go#25758
az account get-access-token --subscription ... --tenant ... always exits with an error "Please specify only one of subscription and tenant, not both".
Describe the solution you'd like
If --subscription and --tenant are provided together and they do point to the same tenant, az account get-access-token should allow passing both arguments.
Describe alternatives you've considered
Additional context
Related command
az account get-access-tokenIs your feature request related to a problem? Please describe.
Azure/azure-sdk-for-go#25758
az account get-access-token --subscription ... --tenant ...always exits with an error "Please specify only one of subscription and tenant, not both".Describe the solution you'd like
If
--subscriptionand--tenantare provided together and they do point to the same tenant,az account get-access-tokenshould allow passing both arguments.Describe alternatives you've considered
Additional context