Azure Device Update Retrieval Errors

Abby Greentree 126 Reputation points
2023-03-20T21:03:35.49+00:00

I created an IoT Hub instance and Azure Device Update Instance in a resource group via bicep templates. I have deployed the same bicep templates without issue in the past. However, in this tenant after deploying - the 'Updates' Tab on the IoT Hub instance is displaying errors and cannot be used to import or deploy an update. I have confirmed:

  1. The 'Azure Device Update' user has the 'IoT Hub Data Contributor' role.
  2. The IoT Hub is successfully linked to the ADU Account.

I have also tested deleting the ADU Instance and re-creating it from the Azure Marketplace rather than using bicep templates.

Below is a screenshot of the ADU Instance Error message - do you have any troubleshooting recommendations for how I could determine the source of the issue? Thanks.

image.png

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

Accepted answer
  1. QuantumCache 20,031 Reputation points
    2023-03-22T05:43:52.6833333+00:00

    Hello @Abby Greentree,

    Looks like a specific issue on your side, we will help you with that!

    Double-check the configurations in the bicep templates, specifically the settings related to the IoT Hub and Azure Device Update instances. Ensure that the settings match the ones from previous successful deployments. Try deploying the resources again using the bicep templates to see if the issue persists. This can help you identify if the problem is related to a transient error during the deployment process?

    If none of the troubleshooting steps are helpful, then do let us know and we will connect with you.

    I have created the IoT Hub and ADU in East US and see no errors reported...!
    User's image


1 additional answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,311 Reputation points
    2023-03-22T05:43:43.86+00:00

    @Abby Greentree

    I created an IoT Hub instance and Azure Device Update Instance in a resource group via bicep templates. I have deployed the same bicep templates without issue in the past. However, in this tenant after deploying - the 'Updates' Tab on the IoT Hub instance is displaying errors and cannot be used to import or deploy an update. I have confirmed:

    1. The 'Azure Device Update' user has the 'IoT Hub Data Contributor' role.
    2. The IoT Hub is successfully linked to the ADU Account.

    I have also tested deleting the ADU Instance and re-creating it from the Azure Marketplace rather than using bicep templates.

    I understand that you have already performed basic troubleshooting. Do you see any specific error message in Activity logs?

    Can you confirm if you have Configure access for Azure Device Update service principal in linked IoT hub ?

    Learn more about the Azure Device Update service principal access.

    Let us know if that helps.

    0 comments No comments