diff --git a/server/main.bicep b/server/main.bicep index 31c2b1c3..8092bf6b 100644 --- a/server/main.bicep +++ b/server/main.bicep @@ -447,6 +447,15 @@ resource storageQueueDataContributorRoleAssignment 'Microsoft.Authorization/role principalType: 'ServicePrincipal' } } +resource storageBlobDataContributorRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = { + name: guid(managedIdentity.id, 'StorageBlobDataContributor') + scope: resourceGroup() + properties: { + roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe') + principalId: managedIdentity.properties.principalId + principalType: 'ServicePrincipal' + } +} resource logAnalyticsReaderRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = { name: guid(managedIdentity.id, 'LogAnalyticsReader') scope: resourceGroup()