principalId

val principalId: Output<String>

The ID of the Principal (User, Group or Service Principal) to assign the Role Definition to. Changing this forces a new resource to be created.

Note: The Principal ID is also known as the Object ID (i.e. not the "Application ID" for applications). To assign Azure roles, the Principal must have Microsoft.Authorization/roleAssignments/write permissions. See documentation for more information.