Skip to content

Commit 32c5665

Browse files
author
Seth
committed
AZD - added back userobjectid
1 parent 7d8ab41 commit 32c5665

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infra/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ param enableAcceleratedNetworking bool = true
392392
param tags object = {}
393393

394394
@description('Specifies the object id of a Microsoft Entra ID user. In general, this the object id of the system administrator who deploys the Azure resources. This defaults to the deploying user.')
395-
param userObjectId string = ''
395+
param userObjectId string = deployer().objectId
396396

397397
// APIM
398398
@description('Specifies if Microsoft APIM is deployed.')
@@ -552,7 +552,7 @@ module storageAccount 'br/public:avm/res/storage/storage-account:0.17.0' = {
552552
],
553553
[
554554
{
555-
principalId: '9d1689d5-736c-4916-b9a8-dab0a1a88cfc' //aiServices.outputs.systemAssignedMIPrincipalId
555+
principalId: aiServices.outputs.?systemAssignedMIPrincipalId ?? ''
556556
principalType: 'ServicePrincipal'
557557
roleDefinitionIdOrName: 'Storage Blob Data Contributor'
558558
}

0 commit comments

Comments
 (0)