AZURE_CLIENT_ID |
"" |
No |
Preferred credentialless deployment identity: client ID of a federated app or user-assigned managed identity. When set, workflows use OIDC instead of AZURE_CREDENTIALS. |
GITHUB_NEW_REPO |
"" |
Yes |
New GitHub repository path mandatory: New GitHub repository path ensure: format: |
GITHUB_NEW_REPO_VISIBILITY |
"public" |
No |
New repository visibility otherwise: private or internal. |
GITHUB_TEMPLATE_REPO |
"azure/enterprise-scale-aifactory" |
No |
GitHub template repository keep-as-is: Leave as-is if BYO repo. |
GITHUB_USERNAME |
"" |
Yes |
GitHub username or org mandatory: GitHub username or org |
GITHUB_USE_SSH |
"false" |
No |
Use SSH for git operations otherwise: true, use SSH instead of HTTPS. |
aca_w_registry_image |
"mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" |
No |
Container Apps default image otherwise: replace with your own ACR image. |
adminUsername |
"esmladmin" |
No |
VM admin username |
admin_aiSearchTier |
"basic" |
Yes |
AI Search SKU tier mandatory: AI Search SKU tier ensure: 'free' is not allowed when using private endpoints. ['free', 'basic', 'standard', 'standard2', 'standard3', 'storage_optimized_l1', 'storage_optimized_l2'] |
admin_aifactoryPrefixRG |
"mrvel-1-" |
No |
AI Factory resource group prefix keep-as-is: Max 6 chars. otherwise: set your company prefix, e.g. "acme-ai-", "contoso-". |
admin_aifactorySuffixRG |
"-001" |
Yes |
AI Factory scaleset suffix mandatory: AI Factory scaleset suffix keep-as-is: For 1st scaleset. otherwise: increment to '-002', '-003' for additional scalesets. |
admin_commonResourceSuffix |
"-001" |
No |
Common resources suffix otherwise: change to reprovision new services in the same common RG while keeping old ones. |
admin_hybridBenefit |
"false" |
No |
Azure Hybrid Benefit for VMs otherwise: true, if you have eligible Windows licenses with Software Assurance (pay-as-you-go avoided). |
admin_ip_fw |
"" |
No |
Leave empty. Will be automatically set by the pipeline to the build agent IP. keep-as-is: Leave empty. Will be automatically set by the pipeline to the build agent IP. |
admin_keyvaultSoftDeleteDays |
7 |
Depends |
Key Vault soft delete days mandatory: if cmk:'true' (purge protection required). otherwise: 90 days recommended; 0 to disable. |
admin_location |
"eastus2" |
Yes |
Azure region mandatory: Azure region |
admin_locationSuffix |
"eus2" |
Yes |
Region short name mandatory: Region short name |
admin_prjResourceSuffix |
"-001" |
No |
Project resources suffix otherwise: change to reprovision new services in the same project RG while keeping old ones. |
admin_projectType |
"all" |
Yes |
Selects the project type that sizes the project subnets: all (every subnet), genai-1 or esml. Any other value fails the networking step. Keep all. |
admin_semanticSearchTier |
"free" |
Yes |
Semantic search tier mandatory: Semantic search tier |
aiGatewaySkuResourceId |
"" |
No |
Resource ID of an existing AI Gateway SKU to adopt (never modified) keep-as-is: Empty creates an owned gateway in the project resource group. |
aiSearchFallbackLocationArrayDev |
["francecentral","denmarkeast","italynorth","norwayeast","germanywestcentral"] |
No |
Up to five Search fallback regions in order, Germany last; [] or blank disables regional fallback independently of SKU retries. |
aiSearchFallbackLocationArrayStageProd |
["francecentral","denmarkeast","italynorth","norwayeast","germanywestcentral"] |
No |
Up to five Search fallback regions for Test/Stage and Prod in order, Germany last; [] or blank disables regional fallback. Only Search service placement changes. |
aiSearchLocation |
"" |
No |
AI Search region override. Empty keeps the project region; use another supported region only when regional Search capacity is unavailable. |
aifactory-dash-01 |
"" |
No |
Existing Azure Portal AI Factory dashboard URL; never deploys a dashboard. |
aifactoryAgentConfigFile |
"" |
No |
Your own AI Factory Agent configuration (JSON, relative to the repository root, e.g. aifactory/agent/project001-dev.json) merged over the generated one keep-as-is: Tunes voice (realtime mode, languages), grants, costs and limits; never scopes, azure, location or the Entra client. Required to let the pipeline manage an app first deployed with 40-aifactory-agent/deploy.py. Only read when enableAIFactoryAgentLiveVoice:'true'. |
aifactoryAgentContainerAppsEnvironment |
"" |
No |
Name of the internal project Container Apps environment hosting the agent chat keep-as-is: Empty selects the single environment in the project resource group. |
aifactoryAgentEntraAppId |
"" |
Depends |
Client ID (GUID) of the dedicated Entra single-page-app registration used for sign-in to the agent chat mandatory: if enableAIFactoryAgentLiveVoice:'true'. Created once by an Entra admin with python -m aifactory_agent.browser_auth (SPA redirect URI = the application's HTTPS root, delegated scope access_as_user). Pipelines never write Microsoft Graph. |
aifactoryAgentFactoryId |
"" |
No |
Registered AI Factory catalog factory id stamped on the agent chat usage events (aifactory.chat) for My Project Usage & outcomes keep-as-is: Set together with aifactoryAgentScaleSetId (azurefactory catalog). Empty sends no usage events: dimensions are never guessed. Only read when enableAIFactoryAgentLiveVoice:'true'. |
aifactoryAgentReaderObjectIds |
"" |
Depends |
Comma-separated Entra object IDs (GUIDs) granted read-only chat access (knowledge.read, factory.read) in this project's Dev mandatory: if enableAIFactoryAgentLiveVoice:'true'. Write, delete and cost permissions are never granted by the pipeline. |
aifactoryAgentScaleSetId |
"" |
No |
Registered AI Factory catalog scale set id stamped on the agent chat usage events (aifactory.chat) for My Project Usage & outcomes keep-as-is: Set together with aifactoryAgentFactoryId. Empty sends no usage events. Only read when enableAIFactoryAgentLiveVoice:'true'. |
aifactoryAgentVoiceLanguages |
"" |
No |
Comma-separated speech input languages (BCP-47) for live voice keep-as-is: Empty uses en-US. Swedish needs an explicit entry such as sv-SE,en-US. Only read when enableAIFactoryAgentLiveVoice:'true'. |
aifactoryAgentVoiceName |
"" |
No |
Azure Speech voice used for spoken answers keep-as-is: Empty uses en-US-Ava:DragonHDLatestNeural. Only read when enableAIFactoryAgentLiveVoice:'true'. |
aifactoryMcpApiImage |
"" |
Depends |
Digest-pinned Factory API sidecar image mandatory: if enableAIFactoryMCP:'true'. Same format as aifactoryMcpImage. |
aifactoryMcpClassicApimResourceIds |
"" |
No |
Comma-separated resource IDs of classic API Management gateways (Microsoft.ApiManagement/service) allowed to call the AI Factory MCP keep-as-is: Requires enableAIFactoryMCP:'true'. Each APIM is only read (never modified); its system-assigned managed identity is added to the MCP application callers. An Entra admin assigns app role AiFactory.Mcp.Read to each identity; pipelines never write Microsoft Graph. |
aifactoryMcpContainerAppResourceId |
"" |
No |
Optional adoption of an AI Factory MCP Container App deployed outside the pipeline, in the project resource group. Only its caller lists grow; images, identity, secrets and ingress are never changed. Empty uses the pipeline-managed app. |
aifactoryMcpContainerAppsEnvironment |
"" |
No |
Name of the internal project Container Apps environment hosting the MCP keep-as-is: Empty selects the single environment in the project resource group. |
aifactoryMcpEntraAppId |
"" |
Depends |
Client ID (GUID) of the MCP API app registration exposing app role AiFactory.Mcp.Read mandatory: if enableAIFactoryMCP:'true'. Created once by an Entra admin; pipelines never write Microsoft Graph. |
aifactoryMcpImage |
"" |
Depends |
Digest-pinned AI Factory MCP image mandatory: if enableAIFactoryMCP:'true'. Format |
aifactory_branch_chosen |
"release/v1.24" |
No |
Submodule release branch |
aifactory_mcp_AppID_seeding_kv_name |
"<optional>esml-project001-mcp-app-id" |
No |
Seeding Key Vault secret name holding the AI Factory MCP API app registration client ID, written by esml-util/29b-create-mcp-api-sp-for-projects.sh. The MCP step uses it when aifactoryMcpEntraAppId is empty. |
aifactory_salt |
"" |
No |
Leave empty, 5 characters. A deteministic unique value, from COMMON RG |
aifactory_salt_random |
"" |
No |
Leave empty. 10-character unique random value derived from User-Assigned Managed Identity. Auto-populated by the pipeline. keep-as-is: Leave empty. 10-character unique random value derived from User-Assigned Managed Identity. Auto-populated by the pipeline. |
aifactory_version_major |
"1" |
No |
AI Factory major version keep-as-is: Used to determine which bicep files to use. |
aifactory_version_minor |
"24" |
No |
AI Factory minor version keep-as-is: 2025-09-20: 24 = release/v1.24 |
aisearchRetryCapcityArray |
"true" |
No |
Validate all candidates' quota headroom and retry only Azure AI Search capacity failures. |
aseSku |
"IsolatedV2" |
No |
App Service Environment SKU keep-as-is: Used only if byoASEv3:'true' or a dedicated ASE is provisioned. |
aseSkuCode |
"I1v2" |
No |
App Service Environment SKU code |
aseSkuWorkers |
1 |
No |
App Service Environment worker count |
bastion_custom_name |
"" |
No |
Bastion name override for common RG RBAC keep-as-is: Empty uses the standard Bastion naming convention. |
bastion_subscription_resource_group |
"" |
No |
Bastion resource group override for common RG RBAC keep-as-is: Empty uses the common resource group. |
bingCustomSearchSku |
"G2" |
No |
Bing Custom Search SKU keep-as-is: ['G2'] G2 is custom search with grounding. |
botEnableM365PublicEndpoint |
"false" |
No |
Turns on only the Microsoft-filtered M365 Activity route of the chosen agent on a private Foundry account when publishing is prepared. Account network settings stay unchanged. Needs botFoundryAgentName. Outside Dev it resets to false. |
botFoundryAgentName |
"" |
No |
Names an existing Foundry agent (its exact name, not a version ID) to prepare for M365 and Teams publishing. When set, no standalone Bot is created. Empty skips the step. Needs enableBotService. |
botFoundryProjectResourceId |
"" |
No |
Sets the full ARM ID of the Foundry project that holds the agent to prepare for publishing. Empty skips the step. Needs enableBotService. |
clusteringPolicyRedisManaged |
"OSSCluster" |
No |
OSSCluster|EnterpriseCluster|NoCluster |
commonLakeNamePrefixMax8chars |
"mrvel" |
No |
Data lake storage name prefix keep-as-is: Max 8 characters. |
commonResourceGroup_param |
"" |
No |
BYO common resource group name otherwise: provide a custom name for the common resource group. |
containerAppsRetryCapacityArray |
"true" |
No |
Retry only Container Apps capacity failures, with 240 seconds before attempts 2 and 3. |
cosmosKind |
"GlobalDocumentDB" |
No |
Cosmos DB kind otherwise: "MongoDB". |
datalakeName_param |
"" |
No |
BYO data lake storage account name otherwise: provide a custom storage account name. |
dev_admin_bicep_input_keyvault_subscription |
"<todo>_SubID" |
Yes |
DEV seeding KV subscription ID mandatory: DEV seeding KV subscription ID ensure: subscription where the DEV seeding Key Vault resides. |
dev_admin_bicep_kv_fw |
"<todo>_Name_Dev" |
Yes |
DEV seeding KV name mandatory: DEV seeding KV name ensure: Key Vault name storing secrets mapped to PROJECT_SERVICE_PRINCIPAL_KV_S_NAME_APPID. |
dev_admin_bicep_kv_fw_rg |
"<todo>_ResourceGroup_DEV" |
Yes |
DEV seeding KV resource group mandatory: DEV seeding KV resource group ensure: resource group where the DEV seeding Key Vault resides. |
dev_sub_id |
"<todo>_SubID" |
Yes |
DEV subscription ID mandatory: DEV subscription ID |
evictionPolicyRedisManaged |
"NoEviction" |
No |
Sets the Azure Managed Redis eviction policy: NoEviction (rejects writes when memory is full), AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLFU, VolatileLRU, VolatileRandom or VolatileTTL. Used only when enableRedisManaged is true. |
functionRuntime |
"dotnet" |
No |
Azure Function runtime otherwise: "python", "node", "java", "powershell". |
functionVersion |
"v7.0" |
No |
Azure Function runtime version |
highAvailabilityRedisManaged |
"Enabled" |
No |
Enabled|Disabled; Enabled -> Disabled is unsupported. |
iac |
"bicep" |
No |
Infrastructure as code for the common foundation keep-as-is: terraform needs accelerator release/v1.26+ and GitHub Actions (infra-common-terraform.yml). |
kvNameFromCOMMON_param |
"" |
No |
BYO common Key Vault name otherwise: provide a custom Key Vault name. |
lakeContainerName |
"lake3" |
No |
Data lake container name |
logicAppType |
"Standard" |
No |
Logic Apps hosting type |
org-department-id |
"" |
No |
Project organizational department ID keep-as-is: Text, max 128 characters, not necessarily a GUID; identical across environments. No identity or authentication effect. |
org-department-name |
"" |
No |
Project organizational department name keep-as-is: Unicode text, max 200 characters; identical across environments, independent of cost center. No factory inheritance or Azure tag writes. |
persona_access_manifest |
"" |
No |
Repository-relative reviewed manifest for this environment/project. |
persona_access_mode |
"legacy" |
No |
Derived from enablePersonas; mode-only opt-in is supported when the flag is absent. |
postGresAdminEmails |
"email_adress_only" |
Depends |
PostgreSQL admin emails mandatory: if enablePostgreSQL:'true' ensure: valid comma-separated email addresses. |
postgreSQLRetryCapacityArray |
"true" |
No |
Retry only PostgreSQL regional/SKU capacity failures, with 240 seconds before attempts 2 and 3. |
prod_admin_bicep_input_keyvault_subscription |
"<todo>_SubID" |
Depends |
PROD seeding KV subscription ID mandatory: PROD seeding KV subscription ID ensure: subscription where the PROD seeding Key Vault resides. Required when deploying that environment. |
prod_admin_bicep_kv_fw |
"<todo>_Name_Prod" |
Depends |
PROD seeding KV name mandatory: PROD seeding KV name ensure: Key Vault name storing secrets mapped to PROJECT_SERVICE_PRINCIPAL_KV_S_NAME_APPID. Required when deploying that environment. |
prod_admin_bicep_kv_fw_rg |
"<todo>_ResourceGroup_Prod" |
Depends |
PROD seeding KV resource group mandatory: PROD seeding KV resource group ensure: resource group where the PROD seeding Key Vault resides. Required when deploying that environment. |
prod_sub_id |
"<todo>_SubID" |
Depends |
PROD subscription ID recommended: separate subscription from DEV. otherwise: can reuse dev_sub_id. Required when deploying that environment. |
projectPrefix |
"esml-" |
No |
Project resource group prefix |
projectSuffix |
"-rg" |
No |
Project resource group suffix |
project_number_000 |
"001" |
Yes |
Project number mandatory: Project number keep-as-is: For 1st project. otherwise: increment to '002', '003', etc. |
skipDiagAISearch |
false |
No |
Skips creating the AI Search diagnostic setting; by default its logs go to Log Analytics. Set true when an Azure Policy already sends the same logs to the same workspace, which otherwise fails with a 409 conflict. |
skipDiagAIServices |
false |
No |
Skips creating the AI Services diagnostic setting for a new account when enableAIServices is true. Set true when an Azure Policy already sends the same logs to the same workspace. |
skipDiagAOAI |
true |
No |
Skips the Azure OpenAI diagnostic setting, because an Azure Policy usually manages it. Set false to create it from Bicep; applies when enableAzureOpenAI is true. |
skipDiagContentSafety |
true |
No |
Skips the Content Safety diagnostic setting, because an Azure Policy usually manages it. Set false to create it from Bicep; applies when enableContentSafety is true. |
skipDiagDocIntelligence |
true |
No |
Skips the Document Intelligence diagnostic setting, because an Azure Policy usually manages it. Set false to create it from Bicep; applies when enableAIDocIntelligence is true. |
skipDiagSpeech |
true |
No |
Skips the Speech diagnostic setting, because an Azure Policy usually manages it. Set false to create it from Bicep; applies when enableAzureSpeech is true. |
skipDiagVision |
true |
No |
Skips the Vision diagnostic setting, because an Azure Policy usually manages it. Set false to create it from Bicep; applies when enableAzureAIVision is true. |
tag_costcenter |
"1234" |
No |
Project cost center tag keep-as-is: Metadata for per-project cost tracking on resource group level. |
tag_costceter_common |
"9999" |
No |
Common cost center tag keep-as-is: Metadata for Resource group cost tracking. |
tag_repository |
"aifactory" |
No |
Repository name tag |
tag_repository_branch |
"aifactory-001" |
No |
Repository branch tag otherwise: per scaleset 'aifactory-002', or per project 'aifactory-001/project001-main'. |
tags |
"{\"CostCenter\":\"$(tag_costceter_common)\",\"Description\":\"AI Factory common\",\"AIF-Repo\":\"$(tag_repository)\",\"AIF-Branch\":\"$(tag_repository_branch)\",\"AIF-Version\":\"$(aifactory_version_major).$(aifactory_version_minor)\",\"AIF-Submodule-Chosen-Branch\":\"$(aifactory_branch_chosen)\",\"AIF-Scaleset\":\"$(admin_aifactorySuffixRG)\",\"AIF-Environment\":\"$(dev_test_prod)\",\"AIF-Project Owners\":\"$(technical_admins_email)\",\"AIFactory project\":\"$(project_number_000)\",\"AIF-Networking\":\"$(allowPublicAccessWhenBehindVnet),$(enablePublicGenAIAccess),$(enablePublicAccessWithPerimeter)\",\"AIF-enableAIFactoryCreatedDefaultProjectForAIFv2\":\"$(enableAIFactoryCreatedDefaultProjectForAIFv2)\",\"AIF-disableAgentNetworkInjection\":\"$(disableAgentNetworkInjection)\",\"AIF-byoASEv3\":\"$(byoASEv3)\",\"AIF-BYO_subnets\":\"$(BYO_subnets)\"}" |
No |
Common resource tags as a JSON string; Azure DevOps macro expressions are preserved. |
tagsProject |
"{\"CostCenter\":\"$(tag_costcenter)\",\"Description\":\"RAG Chat 1\",\"AIF-Branch\":\"$(tag_repository_branch)/project$(project_number_000)\",\"AIF-Scaleset\":\"$(admin_aifactorySuffixRG)\",\"AIF-Environment\":\"$(dev_test_prod)\",\"AIF-Project Owners\":\"$(technical_admins_email)\",\"AIFactory project\":\"$(project_number_000)\",\"AIF-Networking\":\"$(allowPublicAccessWhenBehindVnet),$(enablePublicGenAIAccess),$(enablePublicAccessWithPerimeter)\",\"AIF-enableAIFactoryCreatedDefaultProjectForAIFv2\":\"$(enableAIFactoryCreatedDefaultProjectForAIFv2)\",\"AIF-disableAgentNetworkInjection\":\"$(disableAgentNetworkInjection)\",\"AIF-byoASEv3\":\"$(byoASEv3)\",\"AIF-BYO_subnets\":\"$(BYO_subnets)\"}" |
No |
Project resource tags as a JSON string; Azure DevOps macro expressions are preserved. |
test_admin_bicep_input_keyvault_subscription |
"<todo>_SubID" |
Depends |
STAGE seeding KV subscription ID mandatory: STAGE seeding KV subscription ID ensure: subscription where the STAGE seeding Key Vault resides. Required when deploying that environment. |
test_admin_bicep_kv_fw |
"<todo>_Name_Test" |
Depends |
STAGE seeding KV name mandatory: STAGE seeding KV name ensure: Key Vault name storing secrets mapped to PROJECT_SERVICE_PRINCIPAL_KV_S_NAME_APPID. Required when deploying that environment. |
test_admin_bicep_kv_fw_rg |
"<todo>_ResourceGroup_Test" |
Depends |
STAGE seeding KV resource group mandatory: STAGE seeding KV resource group ensure: resource group where the STAGE seeding Key Vault resides. Required when deploying that environment. |
test_sub_id |
"<todo>_SubID" |
Depends |
STAGE subscription ID recommended: separate subscription from DEV. otherwise: can reuse dev_sub_id. Required when deploying that environment. |
tfstateContainer |
"tfstate" |
No |
Terraform state container |
tfstateResourceGroup |
"" |
No |
Terraform state resource group (iac=terraform) |
tfstateStorageAccount |
"" |
No |
Terraform state storage account (iac=terraform) |
tfstateSubscriptionId |
"" |
No |
Terraform state subscription keep-as-is: Empty uses the target subscription. |
useCommonACR |
"true" |
No |
Use shared ACR across projects otherwise: false, each project gets its own ACR (higher cost). |
useCommonACR_override |
"true" |
No |
Use shared ACR override otherwise: false, each project gets its own ACR (higher cost). |
webAppRuntime |
"python" |
No |
Azure Web App runtime otherwise: "dotnet", "node", "java". |
webAppRuntimeVersion |
"3.11" |
No |
Azure Web App runtime version |