Skip to content

Commit 4c4da02

Browse files
Merge pull request #127 from microsoft/exp-changes
fix: Fixed the issue related to cross subscription
2 parents efb75f5 + d8777b5 commit 4c4da02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infra/deploy_ai_foundry.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = {
6767
Application_Type: 'web'
6868
publicNetworkAccessForIngestion: 'Enabled'
6969
publicNetworkAccessForQuery: 'Enabled'
70-
WorkspaceResourceId: logAnalytics.id
70+
WorkspaceResourceId: useExisting ? existingLogAnalyticsWorkspaceId : logAnalytics.id
7171
}
7272
}
7373

infra/main.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ resource azureAiServices 'Microsoft.CognitiveServices/accounts@2024-04-01-previe
8383
kind: 'AIServices'
8484
properties: {
8585
customSubDomainName: azureAiServicesName
86+
publicNetworkAccess: 'Enabled'
8687
}
8788
}
8889

0 commit comments

Comments
 (0)