Hello Abby Greentree, This is a great discussion, thanks for bringing to this forum.
To persist the ADU group across re-provisioning, you can add the ADUGroup tag to the **device twin instead of the module twin.** The device twin is not reset during re-provisioning, so the tag value will persist.
You can add the tag to the device twin using the Azure portal, Azure CLI, or a sample .NET app.
Manage device groups in Device Update for IoT Hub
Device Update for IoT Hub allows deploying an update to a group of IoT devices. This step is optional when deploying updates to your managed devices. You can deploy updates to your devices using the default group that is created for you. Alternatively, you can assign a user-defined tag to your devices, and they'll be automatically grouped based on the tag and the device compatibility properties.
Understand and use device twins in IoT Hub
Device twins are JSON documents that store device state information including metadata, configurations, and conditions. Azure IoT Hub maintains a device twin for each device that you connect to IoT Hub.
Please comment in the below section if you need further help in this matter.
If this answers your query, do click Accept Answer
and Yes
for this answer as helpful. And, if you have any further query do let us know.