Microsoft Azure

#1

$ mos azure-iot-setup --azure-hub-name myiot
Running az
Error: exec: “az”: executable file not found in %PATH%
/src/cli/ourutil/cmd.go:57:
/src/cli/azure/azure.go:74: Failed to run Azure CLI utility. Make sure it is installed - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
/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

#2

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.

#3

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