From 4603e3cb8411334ec7682b7e1dfeb92655f3a158 Mon Sep 17 00:00:00 2001 From: VishalS-Microsoft Date: Wed, 23 Jul 2025 17:58:49 +0530 Subject: [PATCH] fixed opent telemetry issue CustomDomainInUse, FlagMustBeSetForRestore (#618) --- infra/main.bicep | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/main.bicep b/infra/main.bicep index 7c225c1f8..705259f56 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -74,8 +74,7 @@ param aiDeploymentsLocation string param AZURE_LOCATION string = '' var solutionLocation = empty(AZURE_LOCATION) ? resourceGroup().location : AZURE_LOCATION -var uniqueId = toLower(uniqueString(environmentName, subscription().id, solutionLocation)) - +var uniqueId = toLower(uniqueString(environmentName, subscription().id, solutionLocation, resourceGroup().name)) var solutionPrefix = 'ca${padLeft(take(uniqueId, 12), 12, '0')}' // Load the abbrevations file required to name the azure resources.