Skip to content

Commit a8bae70

Browse files
author
Evilazaro Alves
committed
org role assignement
1 parent b17e634 commit a8bae70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/identity/orgRoleAssignment.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ param principalType string = 'Group'
1717
@description('Role assignments for the security group')
1818
resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = [
1919
for role in roles: {
20-
name: guid(subscription().id, resourceGroup().id,principalId, role.id)
20+
name: guid(subscription().id, resourceGroup().id, principalId, role.id, role.name, principalType)
2121
scope: resourceGroup()
2222
properties: {
2323
principalId: principalId

0 commit comments

Comments
 (0)