Configure access control roles for Device Update resources

In order for users to have access to Device Update, they must be granted access to the Device Update account, Instance and set the required access to the linked IoT hub.

Configure access control for Device Update account

  1. In your Device Update account, select Access control (IAM) from the navigation menu.

    Screenshot of access Control within Device Update account.

  2. Select Add role assignments.

  3. On the Role tab, select a Device Update role from the available options:

    • Device Update Administrator
    • Device Update Reader
    • Device Update Content Administrator
    • Device Update Content Reader
    • Device Update Deployments Administrator
    • Device Update Deployments Reader

    For more information, Learn about Role-based access control in Device Update for IoT Hub.

    Screenshot of access Control role assignments within Device Update account.

  4. Select Next

  5. On the Members tab, select the users or groups that you want to assign the role to.

    Screenshot of access Control member selection within Device Update account.

  6. Select Review + assign

  7. Review the new role assignments and select Review + assign again

  8. You're now ready to use Device Update from within your IoT Hub

Configure access for Azure Device Update service principal in linked IoT hub

Device Update for IoT Hub communicates with IoT Hub to manage deployments and updates and to get information about devices. To enable the access, you need to give the Azure Device Update service principal access with the IoT Hub Data Contributor role.

  1. In the Azure portal, navigate to the IoT hub connected to your Device Update instance.

    Screenshot of instance and linked IoT hub.

  2. Select Access Control(IAM) from the navigation menu. Select Add > Add role assignment.

    Screenshot of access Control within IoT Hub.

  3. In the Role tab, select IoT Hub Data Contributor. Select Next.

    Screenshot of access Control role assignment within IoT Hub. **

  4. For Assign access to, select User, group, or service principal. Select Select Members and search for 'Azure Device Update'

    Screenshot of access Control member selection for IoT Hub.

  5. Select Next > Review + Assign

To validate that you've set permissions correctly:

  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

Next steps

Try updating a device using one of the following quick tutorials: