Azure Internet of Things built-in role

Azure Device Registry Contributor

Manages devices and discovered devices in an Azure Device Registry namespace, reads namespace credential policy metadata, can issue certificates under a policy, and accesses linked IoT Hub device operations. It combines control-plane Actions with certificate-issuance and IoT Hub device 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: a5c3590a-3a1a-4cd4-9648-ea0a32b15137

Control-plane actions (7)

Data-plane actions (2)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Microsoft documents assignment to the user-assigned managed identity on the individual Device Registry namespace. A parent assignment is inherited by other namespaces and linked device resources, so namespace scope is the practical boundary.

Common use cases (2)

Prerequisites (2)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign Azure Device Registry Contributor to the documented user-assigned managed identity on the target namespace for the IoT Hub integration. Use Credentials Contributor only for a separately documented credential-policy workflow, and reserve the Administrator wildcard for cases Microsoft explicitly documents.

Related roles (2)

Common questions

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

Assign Azure Device Registry Contributor when you need to: Give the managed identity used by an IoT Hub and Device Registry integration full access to devices in the target Device Registry namespace.; and Operate the documented preview workflow that synchronizes IoT Hub device identities with Azure Device Registry and issues Microsoft-backed X.509 device certificates.. Practical scope: Microsoft documents assignment to the user-assigned managed identity on the individual Device Registry namespace. A parent assignment is inherited by other namespaces and linked device resources, so namespace scope is the practical boundary.

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

The role definition grants 9 combined control-plane and data-plane actions. Representative operations include: microsoft.deviceregistry/namespaces/read; microsoft.deviceregistry/namespaces/devices/*; microsoft.deviceregistry/namespaces/discovereddevices/*; microsoft.deviceregistry/namespaces/credentials/read; microsoft.deviceregistry/namespaces/credentials/policies/read; and microsoft.devices/iothubs/certificates/*. Review the permission sections above for the complete definition and exclusions.

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

Key considerations when assigning Azure Device Registry Contributor: The role can mutate registry devices, access linked IoT Hub device identities, issue certificates under credential policies, and read certificate configuration.; and A parent-scope assignment extends device and certificate authority across inherited namespaces; the preview integration is not recommended for production workloads.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →