Iot Hub Device Update: Can´t create a device group

Matthias Schneider 111 Reputation points
2021-04-01T07:43:58.93+00:00

I want to create a device group in my IoT Hub to deploy an update to theme. But I get can't create one because no ungrouped devices are listed. I met all Prerequisites mentioned in this guide but still, there is no way for me to create a group.

I posted a much more detailed explanation on Stack Overflow.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
{count} votes

Answer accepted by question author
  1. Matthias Schneider 111 Reputation points
    2021-04-07T14:37:46.48+00:00

    Log story short, I simply forgot to add the update-agend. I somehow missed the part where this was mentioned while following the guides regarding the Hub setup.
    Im now able to create groups by adding tags as mentioned by @Sander van de Velde | MVP
    85378-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator
    2021-04-01T13:01:38.89+00:00

    Hello @MatthiasSchneider-0238 ,

    The IoT Hub can ingest the data of many devices. Each device has its own registration which is called a DeviceTwin.

    In this Device twin, device-related information is stored. The part of interest to you is the Tags.

    You can apply zero, one, or more tags to devices. You can tag devices using a make, model, customerid, region, functionality, version, etc.

    These tag values are NOT available on the device, only for other cloud resources:

    83702-image.png

    And there is where we will see the grouping of devices.

    The tags can be used as part of the filter so only certain devices get a certain loT device configuration:

    83695-image.png

    If you enrich incoming messages with tags, you can take decisions later on, in other Azure services too (like Azure Stream Analytics).

    So, grouping devices is done inside the device twin and brings great flexibility later on.

    Pro tip: If a device is enrolled using a Azure IoT Device Provisioning service it can automatically get some initial tags.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.