fix: update GPT model version to 2024-11-20 across configuration files#446
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the solution’s default GPT model version in the infrastructure templates and documentation, and tightens the app service principal’s Azure AI permissions by switching to the Cognitive Services OpenAI User role. It also includes regenerated ARM output from a newer Bicep compiler and minor dependency ordering changes.
Changes:
- Updated default
gptModelVersionfrom2024-08-06to2024-11-20in Bicep, generated ARM templates, and docs. - Changed the AI Services role assignment for the app identity from OpenAI Contributor to OpenAI User (GUID
5e0bd9bd-7b93-4f28-af87-19fc36ad61bd) in both main and custom infra templates (and reflected in ARM output). - Regenerated
infra/main.jsonwith Bicep0.44.1.10279, including updated template hashes and somedependsOnordering adjustments.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
infra/main.json |
Regenerated ARM template reflecting the new GPT model version default, updated role assignment GUID, and updated dependency ordering/template hashes. |
infra/main.bicep |
Updates the default GPT model version and switches the app’s AI role assignment to OpenAI User. |
infra/main_custom.bicep |
Mirrors main.bicep changes to keep custom deployments aligned (model version + role assignment). |
docs/CustomizingAzdParameters.md |
Updates the documented default GPT model version for AZURE_ENV_GPT_MODEL_VERSION. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…to use GUID format
Roopan-Microsoft
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates the default GPT model version used in the deployment templates and infrastructure, and changes the Azure role assignment for the application service principal. It also includes updates to the generated ARM templates and minor dependency order adjustments.
Model version update:
2024-08-06to2024-11-20in documentation, Bicep parameters, and ARM templates to ensure deployments use the latest model version. [1] [2] [3] [4]Role assignment changes:
roleDefinitionIdOrNamefor the application service principal from'Cognitive Services OpenAI Contributor'to the GUID for'Cognitive Services OpenAI User'in both Bicep and ARM templates, tightening permissions. [1] [2] [3]Infrastructure and template updates:
infra/main.json) to reflect the updated Bicep version (0.44.1.10279) and new template hashes, ensuring consistency with the latest Bicep tooling. [1] [2] [3] [4] [5] [6] [7] [8] [9]Dependency order adjustments:
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation