Actually, what solved my problem was this script:
# Put Azure CLI path before /mingw64/bin export PATH="/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:$PATH"