Bicep Module Documentation

← Back to Overview

Module role-assignment

roleAssignment

Property Value Description
principalId (required) string The principal ID
roleDefinitionId (required) string The role definition ID, data file can be used for this
condition string Condition on the role assignment
conditionVersion string Version of the condition. Currently the only accepted value is "2.0"
delegatedManagedIdentityResourceId string Id of the delegated managed identity resource
description string Description of role assignment

Changelog

3.1.1 (2025-09-24)

Bug Fixes

  • remove deployment name + cleanup

3.1.0 (2025-03-24)

Features

  • add management group role assignments

3.0.0 (2025-03-17)

⚠ BREAKING CHANGES

  • remove role-assignment principalType parameter

Features

  • remove role-assignment principalType parameter