In this section, let's look at creating an IoT Hub using CLI:
- Open the Command Prompt within administrator mode.
- Use the login command in Command Prompt:
azure login
- It will ask you to login using a web browser with the link displayed in the Command Prompt:
Login command
- The web link will validate the code generated in Command Prompt:
Login authenticate through web
- Once you successfully log in, it will show a message on the browser and you can go back to the Command Prompt for your work:
Login validated successfully ...