Set Up an IoT Hub Device Provisioning Service With Azure CLI

The Azure CLI is employed to make and manage Azure resources from instructions or scripts. This QuickStart details the exploitation of the Azure CLI and how to make an IoT Hub and device provisioning service, linking to two services along the way.

1. Open Azure Cloud Shell

Azure Cloud Shell is a free, interactive shell that you will run during this article. Common Azure tools square measure preinstalled and designed in Cloud Shell for you to use along with your account. Simply choose the Copy button to repeat the code, paste it in the Cloud Shell, and press Enter to run it. The square measures a number of ways to open Cloud Shell: