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
Unfortunately, az pool create -template ..json does not work with the latest az cli and az batch extensions.
I get
"Error occurred in request., InvalidURL: Failed to parse: https://"dshardbatch.westeurope.batch.azure.com"/pools?api-version=2019-08-01.10.0&timeout=30"
The text was updated successfully, but these errors were encountered:
Looking through the service logs I see two create pool requests failing due to protocol failure for that account. I see this in one of their log traces
04/07/2020 09:26:55.401```
I do not believe that is a valid VM Size. You probably want STANDARD_D64s_v3.
If that is not from the request in question could you share your template, so I can look into it further? If that was the problem we can probably keep this issue open to improve the error message, as we are probably swallowing the inner details causing our generic 400 error message.
Hmmm, I attempted to reproduce this and couldn't. What are you doing to feed in the account-endpoint? An environment variable, feeding in --account-endpoint, or using 'az batch login'. I tried the latter two and both properly had quotes trimmed.
Also what are the results of az --version? Ultimately trying to figure out whats causing those quotes in the url.
Unfortunately, az pool create -template ..json does not work with the latest az cli and az batch extensions.
I get
"Error occurred in request., InvalidURL: Failed to parse: https://"dshardbatch.westeurope.batch.azure.com"/pools?api-version=2019-08-01.10.0&timeout=30"
The text was updated successfully, but these errors were encountered: