How add groups in Azure Iot hub for update deployment

Shota 25 Reputation points
2023-04-03T12:54:02.8133333+00:00

Hello.

I am trying to add groups for Azure Iot Hub devices by adding tags in Device Twins. but when i check Groups and Deployments under Update section there is no any Group to deploy update.

any idea what i am missing ?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,128 questions
0 comments No comments
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,621 Reputation points
    2023-04-03T18:53:22.64+00:00

    Hi @Shota Greetings! Welcome to Microsoft Q&A forum and thank you for posting the question here.

    when i check Groups and Deployments under Update section there is no any Group to deploy update.

    Adding the Tag name alone would not populate the Group name under the Groups and Deployments tab. You would need to have an Update imported into the IoT Hub platform and have the deviceupdate-agent installed on your Edge device and it should target the update on the IoT Edge device.

    The Azure IoT Hub device update would need access to your IoT Hub to perform updates. Refer the resource Configure access for Azure Device Update service principal in linked IoT hub to follow the steps needed to set the permissions.

    Please make sure the Azure Device Update service has IoT Hub Data contributor role for the updates to work

    Refer the below image for reference on the permissions. User's image

    If you are planning to update device packages, please follow the tutorial Device Update for Azure IoT Hub using the package agent on Ubuntu Server 18.04 x64 that will guide you on the steps needed to set up and import an update. Here is a reference of the file we need to edit using the command sudo /etc/adu/du-config.json as a part of the device update process. User's image

    After doing the above step, you can then add the local tag and proceed with Import the update step. After you have done that, you will find the group name in the Group and deployments tab. Refer the below image. User's image

    If you plan to update a device image, please follow the steps outlined in the article Device Update for Azure IoT Hub using the Raspberry Pi 3 B+ reference image as a refer. Please let us know if you have any issues or need further clarification in the comments section below. We would be happy to help you.


    If the response helped, please do click Accept Answer and Yes. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.


0 additional answers

Sort by: Most helpful