Microsoft Azure


$ mos azure-iot-setup --azure-hub-name myiot
Running az
Error: exec: “az”: executable file not found in %PATH%
/src/cli/azure/azure.go:74: Failed to run Azure CLI utility. Make sure it is installed -
/src/cli/main.go:198: azure-iot-setup failed
exit status 1

az Command works perfectly fine with command prompt but mos tool i get the Above response


you have a PATH problem, the mos application running in your OS does not find the az application in the provided PATH.
Unless you specify in which OS you are doing this, few people will be able to help you.


Can You Plaese help me set up path For the above
i am using windows 10