From 857d0485a41e7583eb144dca41a57e8e1cb2736d Mon Sep 17 00:00:00 2001 From: NirajC-Microsoft Date: Thu, 24 Jul 2025 10:50:55 +0530 Subject: [PATCH 1/3] fixed opent telemetry issue CustomDomainInUse, FlagMustBeSetForRestore (#618) (#619) Co-authored-by: VishalS-Microsoft --- 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. From 8c20e7f2b3bc073513d3b036c5e5f5938c4210f1 Mon Sep 17 00:00:00 2001 From: Rafi-Microsoft Date: Wed, 6 Aug 2025 14:13:25 +0530 Subject: [PATCH 2/3] directory update in dependabot template (#634) --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7cca764a6..2f7bbe826 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -31,7 +31,7 @@ updates: # 3. Python dependencies – Fabric Scripts - package-ecosystem: "pip" - directory: "/src/infra/scripts/fabric_scripts" + directory: "/infra/scripts/fabric_scripts" schedule: interval: "monthly" commit-message: @@ -45,7 +45,7 @@ updates: # 4. Python dependencies – Index Scripts - package-ecosystem: "pip" - directory: "/src/infra/scripts/index_scripts" + directory: "/infra/scripts/index_scripts" schedule: interval: "monthly" commit-message: From 3d47f214ef182e4af4df80ef2c64206417ee7e4a Mon Sep 17 00:00:00 2001 From: Atulku-Microsoft Date: Mon, 11 Aug 2025 21:48:58 +0530 Subject: [PATCH 3/3] docs: Added changes in readme file related to SFI (#641) * Update DeploymentGuide.md * Update DeploymentGuide.md for local development & debugging instructions * Update DeploymentGuide.md for local development & debugging instructions --------- Co-authored-by: Prajwal-Microsoft --- docs/DeploymentGuide.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/DeploymentGuide.md b/docs/DeploymentGuide.md index 7d54bbc54..59a6547cf 100644 --- a/docs/DeploymentGuide.md +++ b/docs/DeploymentGuide.md @@ -228,3 +228,13 @@ This will rebuild the source code, package it into a container, and push it to t 3. **Deleting Resources After a Failed Deployment** - Follow steps in [Delete Resource Group](DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources. + +## Environment configuration for local development & debugging +> Set APP_ENV in your .env file to control Azure authentication. Set the environment variable to dev to use Azure CLI credentials, or to prod to use Managed Identity for production. **Ensure you're logged in via az login when using dev in local**. + +To configure your environment, follow these steps: + + 1. Navigate to the `src\App` folder. + 2. Create a `.env` file based on the `.env.sample` file. + 3. Fill in the `.env` file using the deployment output or by retrieving values from the Azure Portal under "Deployments" in your resource group. + 4. Ensure that the `APP_ENV` variable is set to "**dev**".