Skip to content

Commit 8d01ada

Browse files
Merge pull request #175 from microsoft/Abdul-Microsoft-patch-1
Update main.bicep
2 parents 2d4d11e + 33e5623 commit 8d01ada

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

infra/main.bicep

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' =
120120
apiProperties: {
121121
//statisticsEnabled: false
122122
}
123+
disableLocalAuth: true
123124
}
124125
}
125126

@@ -242,7 +243,7 @@ resource containerAppEnv 'Microsoft.App/managedEnvironments@2024-03-01' = {
242243
location: location
243244
tags: tags
244245
properties: {
245-
daprAIConnectionString: appInsights.properties.ConnectionString
246+
daprAIConnectionString: appInsights.listKeys().primaryConnectionString
246247
appLogsConfiguration: {
247248
destination: 'log-analytics'
248249
logAnalyticsConfiguration: {
@@ -432,7 +433,7 @@ resource frontendAppService 'Microsoft.Web/sites@2021-02-01' = {
432433
}
433434
dependsOn: [containerApp]
434435
identity: {
435-
type: 'SystemAssigned,UserAssigned'
436+
type: 'SystemAssigned, UserAssigned'
436437
userAssignedIdentities: {
437438
'${pullIdentity.id}': {}
438439
}

0 commit comments

Comments
 (0)