File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ resource aiUserAccessFoundry 'Microsoft.Authorization/roleAssignments@2022-04-01
29
29
properties : {
30
30
roleDefinitionId : aiUser .id
31
31
principalId : principalId
32
+ principalType : 'ServicePrincipal'
32
33
}
33
34
}
34
35
@@ -38,6 +39,7 @@ resource aiDeveloperAccessFoundry 'Microsoft.Authorization/roleAssignments@2022-
38
39
properties : {
39
40
roleDefinitionId : aiDeveloper .id
40
41
principalId : principalId
42
+ principalType : 'ServicePrincipal'
41
43
}
42
44
}
43
45
@@ -47,5 +49,6 @@ resource cognitiveServiceOpenAIUserAccessFoundry 'Microsoft.Authorization/roleAs
47
49
properties : {
48
50
roleDefinitionId : cognitiveServiceOpenAIUser .id
49
51
principalId : principalId
52
+ principalType : 'ServicePrincipal'
50
53
}
51
54
}
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ resource aiDevelopertoAIProject 'Microsoft.Authorization/roleAssignments@2022-04
169
169
properties : {
170
170
roleDefinitionId : aiDeveloper .id
171
171
principalId : aiHubProject .identity .principalId
172
+ principalType : 'ServicePrincipal'
172
173
}
173
174
}
174
175
Original file line number Diff line number Diff line change @@ -680,6 +680,7 @@ module aiFoundryStorageAccount 'br/public:avm/res/storage/storage-account:0.18.2
680
680
{
681
681
principalId : userAssignedIdentity .outputs .principalId
682
682
roleDefinitionIdOrName : 'Storage Blob Data Contributor'
683
+ principalType : 'ServicePrincipal'
683
684
}
684
685
]
685
686
}
@@ -760,6 +761,7 @@ module aiFoundryAiProject 'br/public:avm/res/machine-learning-services/workspace
760
761
principalId : containerApp .outputs .?systemAssignedMIPrincipalId !
761
762
// Assigning the role with the role name instead of the role ID freezes the deployment at this point
762
763
roleDefinitionIdOrName : '64702f94-c441-49e6-a78b-ef80e0188fee' //'Azure AI Developer'
764
+ principalType : 'ServicePrincipal'
763
765
}
764
766
]
765
767
}
You can’t perform that action at this time.
0 commit comments