Azure Internet of Things built-in role

Azure Device Registry Onboarding

Provisions and removes Azure Device Registry namespaces, linked IoT Hub and Device Provisioning Service resources, credential policies, and DPS enrollments for the documented X.509 certificate-management setup. It combines broad control-plane Actions with DPS enrollment DataActions.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 547f7f0a-69c0-4807-bd9e-0321dfb66a84

Control-plane actions (8)

Data-plane actions (2)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Use the resource group that contains the new IoT Hub, Device Registry namespace, and DPS instance for the onboarding workflow. Subscription scope is broader than the documented deployment and affects additional IoT resources.

Common use cases (2)

Prerequisites (2)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign Azure Device Registry Onboarding at the resource group containing the planned integration to the deployment identity for a time-bounded setup or deboarding operation. After validation, remove it and grant Azure Device Registry Contributor to the runtime managed identity on the namespace.

Related roles (1)

Common questions

When should I assign the Azure Device Registry Onboarding Azure role?

Assign Azure Device Registry Onboarding when you need to: Deploy the public-preview IoT Hub and Azure Device Registry integration with Microsoft-backed X.509 certificate management.; and Create or remove the Device Registry namespace, IoT Hub, DPS, credential policies, and DPS enrollments that form the integrated onboarding topology.. Practical scope: Use the resource group that contains the new IoT Hub, Device Registry namespace, and DPS instance for the onboarding workflow. Subscription scope is broader than the documented deployment and affects additional IoT resources.

What permissions does the Azure Device Registry Onboarding Azure role grant?

The role definition grants 10 combined control-plane and data-plane actions. Representative operations include: Microsoft.DeviceRegistry/namespaces/read; Microsoft.DeviceRegistry/namespaces/write; Microsoft.DeviceRegistry/namespaces/delete; Microsoft.DeviceRegistry/namespaces/credentials/*; Microsoft.DeviceRegistry/namespaces/credentials/policies/*; and Microsoft.Devices/iothubs/*. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Device Registry Onboarding Azure role?

Key considerations when assigning Azure Device Registry Onboarding: The role can create, change, and delete the namespace and linked IoT Hub and DPS resources and can mutate enrollment data used for device authentication.; and Deleting the linked IoT Hub is required before deleting the Device Registry namespace, and an overly broad assignment exposes additional IoT resources to destructive onboarding operations.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →