The scope of this document is to access Azure IoT Hub and whatever you can do in the Azure IoT hub.
- If you don't have an Azure account, follow the points mentioned below:
-
- Create a Microsoft Azure account.
-
- Create a resource group: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resource-groups-portal#create-resource-groups
- Create an IoT hub: https://docs.microsoft.com/en-us/azure/iot-hub/
- Create an IoT hub Device Provisioning Service (DPS): https://docs.microsoft.com/en-us/azure/iot-dps/
- Create Azure Active Directory application and service principal that can access resources: https://medium.com/@mauridb/calling-azure-rest-api-via-curl-eb10a06127
- Link the IoT hub and your Device Provisioning Service: https://docs.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision#link-the-iot-hub-and-your-device-provisioning-service
- Create a private container registry: https://docs.microsoft.com/en-us/azure/container-registry/
IoT Hub Device Provision Service (DPS)
- If you already have a DPS account configured, specify the DPS account name.
- If you do not have a DPS account configured, create a DPS account.
- Please follow instructions https://docs.microsoft.com/en-us/azure/iot-dps/
- Make sure the registered AD application has contributor access to the resources (IoT hub, DPS, etc.,) that are secured by an Azure AD tenant. The following article explains the Azure AD application and service principles to access the resources: https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal