Device Update for IoT Hub authentication failure in Azure portal with correct access control

Innes Screen Manager 21 Reputation points
2023-01-16T09:45:47.1366667+00:00

Hello everyone,

I'm experiencing some issues with my device update component in the Azure Portal.

I have an IoT Hub in "Tier 1" and linked it to a Device Update account I created.

I've folowed the guidance for configuring access control roles for Device Update resources ([https://learn.microsoft.com/en-us/azure/iot-hub-device-update/configure-access-control-device-update?tabs=portal#configure-access-for-azure-device-update-service-principal-in-linked-iot-hub).

But I still have the folowing error when trying to work with a Device Update instance :

User's image

My user Labs has Owner and administrator role over the Device Update resource, and the linked IoT Hub has the IoT Hub Data Contributor role over Azure Device Update :

User's image

Finally when I try to find a group of devices using the "ADUGroup" tag, it doesn't show :

User's image

Any help on this issue would be greatly appreciated because I don't have any other idea at this point :(

Thanks in advance,

Aloïs KYROU

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
357 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,103 questions
{count} votes

2 answers

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 13,951 Reputation points
    2023-02-13T22:50:14.51+00:00

    Hello, thank you for posting this question. To ensure that the permissions are assigned correctly please follow the steps below for validation.

    1. In the Azure portal, navigate to the IoT hub connected to your Device Update instance.
    2. Select Access Control(IAM) from the navigation menu.
    3. Select Check access.
    4. Select User, group, or service principal and search for 'Azure Device Update'
    5. After clicking on Azure Device Update, verify that the IoT Hub Data Contributor role is listed under Role assignments

    Please let us know your observation on the above check.

    1 person found this answer helpful.
    0 comments No comments

  2. QuantumCache 20,106 Reputation points
    2023-02-13T23:24:02.74+00:00

    Hello Morten Lykkegaard, Sorry i, just confirmed with the Product team that this feature is not supported in Azure IoT Central.

    The Good News is, Few of the customers are able to achieve this via Azure IoT Central's Jobs:

    You can use Azure IoT Central to manage your connected devices at scale through jobs. Jobs let you do bulk updates to device and cloud properties and run commands.

    Manage devices in bulk in your Azure IoT Central application

    Azure IoT Central Jobs can be useful in a variety of scenarios, including:

    • Firmware updates: You can use Azure IoT Central Jobs to remotely update the firmware on your devices.
    • Configuration changes: You can use Azure IoT Central Jobs to change the configuration of your devices, such as modifying network settings or enabling or disabling features.
    • Maintenance operations: You can use Azure IoT Central Jobs to perform maintenance operations, such as rebooting devices or clearing cache.

    With Azure IoT Central Jobs, you can create jobs in the cloud, specify the target devices or groups of devices, and then monitor the progress of the job. The device can receive the job and execute it in the background, while continuing to send telemetry and perform other tasks.

    Please watch this YouTube for further details how "Keurig Coffee" has achieved this via Azure IoT Central Jobs

    IoT Show: Behind the scenes of Keurig's SMART coffee brewers powered by Azure IoT Central

    User's image

    User's image

    0 comments No comments