CmdID / az / az blueprint / az blueprint artifact / az blueprint artifact role
az blueprint artifact role create
Create blueprint role artifact. Azure CLI extensions reference
1 example 8 options Its page in the Azure CLI extensions reference
Examples
Create a role artifact
az blueprint artifact role create --blueprint-name MyBlueprint --artifact-name MyRole --role-definition-id "/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000" --principal-ids "[parameters('[Usergrouporapplicationname]:MyRoleAssignmentName')]"Identify--blueprint-nameName of the blueprint definition.--artifact-nameName of the blueprint artifact.--role-definition-idThe full role definition id.--principal-idsArray of user or group identities in Azure Active Directory or a reference to the corresponding parameter in blueprint definiton.Options
--artifact-nameName of the blueprint artifact.--blueprint-nameName of the blueprint definition.--depends-onArtifacts which need to be deployed before the specified artifact.--descriptionDescription of the blueprint artifact.--display-nameDisplayName of this artifact.--principal-idsArray of user or group identities in Azure Active Directory or a reference to the corresponding parameter in blueprint definiton.--resource-group-artName of the resource group artifact to which the policy will be assigned.--role-definition-idThe full role definition id.