From 547a73de25860a0285321f385b15f16b28f2086a Mon Sep 17 00:00:00 2001 From: Ragini-Microsoft Date: Thu, 11 Jun 2026 11:55:27 +0530 Subject: [PATCH 1/3] fix: update GPT model version to 2024-11-20 across configuration files --- docs/CustomizingAzdParameters.md | 2 +- infra/main.bicep | 6 ++-- infra/main.json | 52 ++++++++++++++++---------------- infra/main_custom.bicep | 6 ++-- 4 files changed, 33 insertions(+), 33 deletions(-) diff --git a/docs/CustomizingAzdParameters.md b/docs/CustomizingAzdParameters.md index 05652672..322e71b7 100644 --- a/docs/CustomizingAzdParameters.md +++ b/docs/CustomizingAzdParameters.md @@ -13,7 +13,7 @@ By default this template will use the environment name as the prefix to prevent | `AZURE_ENV_AI_SERVICE_LOCATION` | string | `` | Location of the Azure resources. Controls where the Azure AI Services will be deployed. | | `AZURE_ENV_MODEL_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Change the Model Deployment Type (allowed values: Standard, GlobalStandard). | | `AZURE_ENV_GPT_MODEL_NAME` | string | `gpt-4o` | Set the Model Name (allowed values: gpt-4o). | -| `AZURE_ENV_GPT_MODEL_VERSION` | string | `2024-08-06` | Set the Azure model version (allowed values: 2024-08-06) | +| `AZURE_ENV_GPT_MODEL_VERSION` | string | `2024-11-20` | Set the Azure model version (allowed values: 2024-11-20) | | `AZURE_ENV_GPT_MODEL_CAPACITY` | integer | `150` | Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). | | `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. | | `AZURE_ENV_IMAGE_TAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) | diff --git a/infra/main.bicep b/infra/main.bicep index 02a543c2..14d06602 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -109,8 +109,8 @@ param imageTag string = 'latest_2025-11-10_599' param containerRegistryEndpoint string = 'cmsacontainerreg.azurecr.io' @minLength(1) -@description('Optional. Version of the GPT model to deploy. Defaults to 2024-08-06.') -param gptModelVersion string = '2024-08-06' +@description('Optional. Version of the GPT model to deploy. Defaults to 2024-11-20.') +param gptModelVersion string = '2024-11-20' @description('Optional. Use this parameter to use an existing AI project resource ID. Defaults to empty string.') param existingFoundryProjectResourceId string = '' @@ -778,7 +778,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = { { principalId: appIdentity.outputs.principalId principalType: 'ServicePrincipal' - roleDefinitionIdOrName: 'Cognitive Services OpenAI Contributor' + roleDefinitionIdOrName: '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd' // Cognitive Services OpenAI User } { principalId: appIdentity.outputs.principalId diff --git a/infra/main.json b/infra/main.json index 624cf877..3e68e927 100644 --- a/infra/main.json +++ b/infra/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "18156607440911418905" + "version": "0.44.1.10279", + "templateHash": "5826654956647148251" }, "name": "Modernize Your Code Solution Accelerator", "description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n" @@ -174,10 +174,10 @@ }, "gptModelVersion": { "type": "string", - "defaultValue": "2024-08-06", + "defaultValue": "2024-11-20", "minLength": 1, "metadata": { - "description": "Optional. Version of the GPT model to deploy. Defaults to 2024-08-06." + "description": "Optional. Version of the GPT model to deploy. Defaults to 2024-11-20." } }, "existingFoundryProjectResourceId": { @@ -5093,8 +5093,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "15922750226218572834" + "version": "0.44.1.10279", + "templateHash": "12666388833640590711" } }, "definitions": { @@ -13101,11 +13101,11 @@ }, "dependsOn": [ "applicationInsights", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]", "dataCollectionEndpoint", "logAnalyticsWorkspace", "virtualNetwork" @@ -26161,7 +26161,7 @@ { "principalId": "[reference('appIdentity').outputs.principalId.value]", "principalType": "ServicePrincipal", - "roleDefinitionIdOrName": "Cognitive Services OpenAI Contributor" + "roleDefinitionIdOrName": "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd" }, { "principalId": "[reference('appIdentity').outputs.principalId.value]", @@ -26189,8 +26189,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "7788164101952925462" + "version": "0.44.1.10279", + "templateHash": "7796390788683636674" }, "name": "AI Services and Project Module", "description": "This module creates an AI Services resource and an AI Foundry project within it. It supports private networking, OpenAI deployments, and role assignments." @@ -27487,8 +27487,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "3451497265231138743" + "version": "0.44.1.10279", + "templateHash": "15798298565583456780" } }, "definitions": { @@ -29197,8 +29197,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "6439859910553532577" + "version": "0.44.1.10279", + "templateHash": "13008301984486295222" } }, "definitions": { @@ -29412,8 +29412,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "3451497265231138743" + "version": "0.44.1.10279", + "templateHash": "15798298565583456780" } }, "definitions": { @@ -31122,8 +31122,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "6439859910553532577" + "version": "0.44.1.10279", + "templateHash": "13008301984486295222" } }, "definitions": { @@ -32039,8 +32039,8 @@ "dependsOn": [ "aiServices", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", "virtualNetwork" ] }, @@ -32096,8 +32096,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "15460841004653840446" + "version": "0.44.1.10279", + "templateHash": "17237339939537137976" } }, "definitions": { @@ -40505,8 +40505,8 @@ }, "dependsOn": [ "appIdentity", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", "logAnalyticsWorkspace", "virtualNetwork" ] @@ -40550,8 +40550,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.42.1.51946", - "templateHash": "9745767047675020484" + "version": "0.44.1.10279", + "templateHash": "8524856574515803596" } }, "definitions": { diff --git a/infra/main_custom.bicep b/infra/main_custom.bicep index ea7c86a4..9fa4ef9b 100644 --- a/infra/main_custom.bicep +++ b/infra/main_custom.bicep @@ -111,8 +111,8 @@ param frontendImageName string = '' param imageTag string = 'latest' @minLength(1) -@description('Optional. Version of the GPT model to deploy. Defaults to 2024-08-06.') -param gptModelVersion string = '2024-08-06' +@description('Optional. Version of the GPT model to deploy. Defaults to 2024-11-20.') +param gptModelVersion string = '2024-11-20' @description('Optional. Use this parameter to use an existing AI project resource ID. Defaults to empty string.') param existingFoundryProjectResourceId string = '' @@ -687,7 +687,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = { { principalId: appIdentity.outputs.principalId principalType: 'ServicePrincipal' - roleDefinitionIdOrName: 'Cognitive Services OpenAI Contributor' + roleDefinitionIdOrName: '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd' // Cognitive Services OpenAI User } { principalId: appIdentity.outputs.principalId From 95cb1bfb099f70276d47d2e6b278ac5029007653 Mon Sep 17 00:00:00 2001 From: Ragini-Microsoft Date: Thu, 11 Jun 2026 12:00:58 +0530 Subject: [PATCH 2/3] fix: update link format for Existing Log Analytics Workspace ID in documentation --- docs/CustomizingAzdParameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CustomizingAzdParameters.md b/docs/CustomizingAzdParameters.md index 322e71b7..69b534d0 100644 --- a/docs/CustomizingAzdParameters.md +++ b/docs/CustomizingAzdParameters.md @@ -15,7 +15,7 @@ By default this template will use the environment name as the prefix to prevent | `AZURE_ENV_GPT_MODEL_NAME` | string | `gpt-4o` | Set the Model Name (allowed values: gpt-4o). | | `AZURE_ENV_GPT_MODEL_VERSION` | string | `2024-11-20` | Set the Azure model version (allowed values: 2024-11-20) | | `AZURE_ENV_GPT_MODEL_CAPACITY` | integer | `150` | Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). | -| `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. | +| `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. | | `AZURE_ENV_IMAGE_TAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) | | `AZURE_ENV_VM_SIZE` | string | `Standard_D2s_v5` | Specifies the size of the Jumpbox Virtual Machine (e.g., `Standard_D2s_v5`, `Standard_D2s_v4`). Set a custom value if `enablePrivateNetworking` is `true`. | | `AZURE_ENV_JUMPBOX_ADMIN_USERNAME` | string | `JumpboxAdminUser` | Specifies the administrator username for the Jumpbox Virtual Machine. | From f0712d3111ce40e5cb155a273fc6f7ec93b1fd70 Mon Sep 17 00:00:00 2001 From: Ragini-Microsoft Date: Thu, 11 Jun 2026 17:13:59 +0530 Subject: [PATCH 3/3] fix: update roleDefinitionIdOrName for Storage Blob Data Contributor to use GUID format --- infra/main.bicep | 2 +- infra/main.json | 12 ++++++------ infra/main_custom.bicep | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/infra/main.bicep b/infra/main.bicep index 14d06602..9b3ff052 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -867,7 +867,7 @@ module storageAccount 'modules/storageAccount.bicep' = { { principalId: appIdentity.outputs.principalId principalType: 'ServicePrincipal' - roleDefinitionIdOrName: 'Storage Blob Data Contributor' + roleDefinitionIdOrName: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe' // Storage Blob Data Contributor } ] enableTelemetry: enableTelemetry diff --git a/infra/main.json b/infra/main.json index 3e68e927..df0b2ae8 100644 --- a/infra/main.json +++ b/infra/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.44.1.10279", - "templateHash": "5826654956647148251" + "templateHash": "3504230210727330834" }, "name": "Modernize Your Code Solution Accelerator", "description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n" @@ -13101,11 +13101,11 @@ }, "dependsOn": [ "applicationInsights", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", "dataCollectionEndpoint", "logAnalyticsWorkspace", "virtualNetwork" @@ -32039,8 +32039,8 @@ "dependsOn": [ "aiServices", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", "virtualNetwork" ] }, @@ -32081,7 +32081,7 @@ { "principalId": "[reference('appIdentity').outputs.principalId.value]", "principalType": "ServicePrincipal", - "roleDefinitionIdOrName": "Storage Blob Data Contributor" + "roleDefinitionIdOrName": "ba92f5b4-2d11-453d-a403-e96b0029c9fe" } ] }, @@ -40505,8 +40505,8 @@ }, "dependsOn": [ "appIdentity", - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]", "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]", "logAnalyticsWorkspace", "virtualNetwork" ] diff --git a/infra/main_custom.bicep b/infra/main_custom.bicep index 9fa4ef9b..4214ffaf 100644 --- a/infra/main_custom.bicep +++ b/infra/main_custom.bicep @@ -776,7 +776,7 @@ module storageAccount 'modules/storageAccount.bicep' = { { principalId: appIdentity.outputs.principalId principalType: 'ServicePrincipal' - roleDefinitionIdOrName: 'Storage Blob Data Contributor' + roleDefinitionIdOrName: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe' // Storage Blob Data Contributor } ] enableTelemetry: enableTelemetry