Skip to main content

Troubleshooting

Error: az acr login- APIVersion 2020-11-01-preview is not available.#

Description NotImplementedError occurred when building image using az acr.

az acr build --image $image_name --subscription $ws.subscription_id --registry $cr --file docker/Dockerfile docker/

The error:

NotImplementedError: APIVersion 2020-11-01-preview is not available.

Solution This is a problem related with the version of az cli. Please update az cli by running

az upgrade --yes