File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -763,9 +763,7 @@ module openAiRoleSearchService 'core/security/role.bicep' = if (isAzureOpenAiHos
763763 scope : openAiResourceGroup
764764 name : 'openai-role-searchservice'
765765 params : {
766- principalId : (deploymentTarget == 'appservice' )
767- ? backend .outputs .identityPrincipalId
768- : acaBackend .outputs .identityPrincipalId
766+ principalId : searchService .outputs .principalId
769767 roleDefinitionId : '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd'
770768 principalType : 'ServicePrincipal'
771769 }
@@ -799,9 +797,7 @@ module storageRoleSearchService 'core/security/role.bicep' = if (useIntegratedVe
799797 scope : storageResourceGroup
800798 name : 'storage-role-searchservice'
801799 params : {
802- principalId : (deploymentTarget == 'appservice' )
803- ? backend .outputs .identityPrincipalId
804- : acaBackend .outputs .identityPrincipalId
800+ principalId : searchService .outputs .principalId
805801 roleDefinitionId : '2a2b9908-6ea1-4ae2-8e65-a410df84e7d1'
806802 principalType : 'ServicePrincipal'
807803 }
You can’t perform that action at this time.
0 commit comments