Automate Azure Batch pool quota increase

50 Views Asked by At

Once an azure batch account is create you'll probably have to go to Batch quota and request increase in pools limits:

enter image description here

Is there a way to automate this so I don't have to log in to Azure Portal? I tried using az cli to query requests

az quota request status list --scope "/subscriptions/$subid/resourceGroups/$rg/providers/Microsoft.Batch/batchAccounts/$batchaccount"

but I get following error:

enter image description here

There's also this command to check current limits but it depends on shared key to communicate with AzBatch, which in UserSubscription mode is not possible, since AAD auth is required.

0

There are 0 best solutions below