While the instructions call it out, we all know people don't follow instructions well. Right now the scripts just execute assuming Azure CLI will be available, but they could be easily updated to check that they find az on the path.
In PowerShell you can do this with Get-Command and in bash you can do this with which.
The scripts can start with this check and, if not found, explicitly state that the Azure CLI was not detected on the path, ask if they have it installed and even provide the aka.ms URL where they can grab it.
While the instructions call it out, we all know people don't follow instructions well. Right now the scripts just execute assuming Azure CLI will be available, but they could be easily updated to check that they find
az
on the path.In PowerShell you can do this with
Get-Command
and in bash you can do this withwhich
.The scripts can start with this check and, if not found, explicitly state that the Azure CLI was not detected on the path, ask if they have it installed and even provide the aka.ms URL where they can grab it.