When trying to use the Azure CLI in Bash, the az command wouldn't work so I had to use az.cmd instead.  One solution I found is taken from this StackOverflow question.  You simply need to create a symbolic link to az.cmd.

mklink "%SYSTEMROOT%\az" "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd"