Azure Management and governance built-in role

Azure Connected Machine Onboarding

Onboards new servers as Azure Arc-enabled server resources. Microsoft documents it for onboarding credentials because it can read and create connected-machine resources but cannot delete registered servers or manage extensions after onboarding. It has no 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: b64e21ea-ac4e-4cdf-9dc9-5b892992bee7

Control-plane actions (11)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign to the onboarding service principal at only the resource groups or subscriptions where it may register servers. Resource-group scope limits where a compromised credential can create unauthorized Arc resources; parent assignments inherit to every child group.

Common use cases (2)

Prerequisites (2)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign Azure Connected Machine Onboarding to the dedicated onboarding service principal at the target resource group. Do not use broad Contributor or Resource Administrator merely to register servers, and remove or rotate the credential after use.

Related roles (1)

Common questions

When should I assign the Azure Connected Machine Onboarding Azure role?

Assign Azure Connected Machine Onboarding when you need to: Connect servers to Azure Arc at scale by using a dedicated service principal or another approved onboarding credential.; and Separate initial server registration from ongoing extension, run-command, license, and machine lifecycle administration.. Practical scope: Assign to the onboarding service principal at only the resource groups or subscriptions where it may register servers. Resource-group scope limits where a compromised credential can create unauthorized Arc resources; parent assignments inherit to every child group.

What permissions does the Azure Connected Machine Onboarding Azure role grant?

The role definition grants 11 combined control-plane and data-plane actions. Representative operations include: Microsoft.HybridCompute/machines/read; Microsoft.HybridCompute/machines/write; Microsoft.HybridCompute/settings/read; Microsoft.HybridCompute/settings/write; Microsoft.HybridCompute/gateways/read; and Microsoft.HybridCompute/privateLinkScopes/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Connected Machine Onboarding Azure role?

Key considerations when assigning Azure Connected Machine Onboarding: A stolen onboarding credential can register attacker-controlled servers into the allowed Azure scope.; and The role cannot delete existing servers or manage extensions, and it has no data-plane access, but the onboarding identity still requires protection and monitoring.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →