You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Reference feedback]: az cli command doesn't work as documented #31201
The az cli command "az batch pool supported-images list only" documentation shows that the command only has optional parameters in order to retrieve all batch account supported images, However the command fails without --account-name and --account-endpoint parameters.
If this az cli command could also provide example for making call that works with EntraID auth, instead of requiring --account-key (which we have disabled with entraid auth only enabled), that would be great!
Thanks for the feedback, you're right. The command needs a Batch account, and the help didn't say so. Either select one first:
az batch account login -g MyResourceGroup -n MyBatchAccount
az batch pool supported-images list
or pass it in the command:
az batch pool supported-images list --account-name MyBatchAccount --account-endpoint https://mybatchaccount.westus.batch.azure.com
Neither needs --account-key: without a key, the CLI uses your Microsoft Entra ID sign-in from az login. #34322 (in review, December 2026 milestone) adds this to the help with both examples.
Activity
yonzhan commentedon Apr 4, 2025
Thank you for opening this issue, we will look into it.
jah29m commentedon Apr 4, 2025
If this az cli command could also provide example for making call that works with EntraID auth, instead of requiring --account-key (which we have disabled with entraid auth only enabled), that would be great!
mskeyansong commentedon Nov 3, 2026
Thanks for the feedback, you're right. The command needs a Batch account, and the help didn't say so. Either select one first:
or pass it in the command:
Neither needs
--account-key: without a key, the CLI uses your Microsoft Entra ID sign-in fromaz login. #34322 (in review, December 2026 milestone) adds this to the help with both examples.