From f6a43e7a0592ec7e005ff45042670daf71535cf3 Mon Sep 17 00:00:00 2001 From: Prajwal D C Date: Wed, 11 Jun 2025 20:47:31 +0530 Subject: [PATCH 1/2] fix: Fixed the issue related to cross subscription --- infra/deploy_ai_foundry.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/deploy_ai_foundry.bicep b/infra/deploy_ai_foundry.bicep index 604966b..79d049a 100644 --- a/infra/deploy_ai_foundry.bicep +++ b/infra/deploy_ai_foundry.bicep @@ -67,7 +67,7 @@ resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = { Application_Type: 'web' publicNetworkAccessForIngestion: 'Enabled' publicNetworkAccessForQuery: 'Enabled' - WorkspaceResourceId: logAnalytics.id + WorkspaceResourceId: useExisting ? existingLogAnalyticsWorkspaceId : logAnalytics.id } } From d8777b546229f5e649ee49b04b8bfd0dc07ddbe0 Mon Sep 17 00:00:00 2001 From: Prajwal D C Date: Wed, 11 Jun 2025 21:00:30 +0530 Subject: [PATCH 2/2] fix: Fixed error on redeployment related to public network access --- infra/main.bicep | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/main.bicep b/infra/main.bicep index b746251..ee8234d 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -83,6 +83,7 @@ resource azureAiServices 'Microsoft.CognitiveServices/accounts@2024-04-01-previe kind: 'AIServices' properties: { customSubDomainName: azureAiServicesName + publicNetworkAccess: 'Enabled' } }