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
Iot Hub Device Update: Can´t create a device group
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
-
Matthias Schneider 111 Reputation points
2021-04-07T14:37:46.48+00:00
1 additional answer
Sort by: Most helpful
-
Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator2021-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:
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:
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.