Azure / iot-hub-device-update

Device Update for IoT Hub agent
MIT License
53 stars 41 forks source link

Device not added in Azure Device Update Groups in IoT Hub #557

Closed jbiemar closed 12 months ago

jbiemar commented 1 year ago

Hi,

Expected/Current Behavior

I try to use firmware update with Azure IoT Hub.

I followed this guide Device Update for IoT Hub documentation but device is not shown in Groups and deployments.

What I already checked:

  1. Azure Device Update has the role IoT Hub Data Contributor in the hub
  2. Device was deleted and recreated after setting Device Update
  3. DU agent was update in twin before adding ADUGroup:
    "reported": {
            "deviceUpdate": {
                "__t": "c",
                "agent": {
                    "deviceProperties": {
                        "manufacturer": "Company",
                        "model": "model",
                        "contractModelId": "dtmi:azure:iot:deviceUpdateContractModel;2",
                        "aduVer": "DU;agent/1.0.0"
                    },
                    "compatPropertyNames": "manufacturer,model",
                    "state": 0,
                    "installedUpdateId": "{\"provider\":\"Company\",\"name\":\"model\",\"version\":\"1.0.0\"}"
                }
            },
  4. ADUGroup is:
    "tags": {
        "test": 1,
        "ADUGroup": "adutest"
    },

Device Information

Thank you

eshashah-msft commented 1 year ago

@jbiemar Investigating the issue on our end

josephmsft commented 1 year ago

what is the device and module Id (if any) and the ADU account and instance Ids?

jbiemar commented 1 year ago

I will not write it here but I can give it to you by mail. Thank you

eshashah-msft commented 1 year ago

@jbiemar Please create a Customer Support Ticket so that we can continue the investigation which would allow you to share the account and instance info. Can you additionally see if the device appears in the default group or run the device sync operation?

jw-msft commented 12 months ago

Closing stale issue. Please reach out via customer support ticket.