Skip to content
This repository was archived by the owner on Sep 28, 2026. It is now read-only.

fix: Role assignment issue for running post deployment script - #102

Merged
Prajwal-Microsoft merged 1 commit into
mainfrom
bug-fix
Dec 17, 2025
Merged

Prajwal-Microsoft merged 1 commit into
mainfrom
bug-fix

Conversation

@Prajwal-Microsoft

@Prajwal-Microsoft Prajwal-Microsoft commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Purpose

  • ...
    This pull request updates role assignments for Azure Cognitive Services and VM script setup modules to use the new "Azure AI User" role instead of the older "Cognitive Services OpenAI User" role. The changes ensure that the correct role definition ID is used throughout the infrastructure code, improving consistency and future-proofing role assignments.

Role assignment updates:

  • Updated the role assignment in infra/modules/cognitive-services/cognitiveServices.bicep to include the new "Azure AI User" role using its role definition ID (53ca6127-db72-4b80-b1b0-d745d6d5456d).

Variable and resource changes:

  • Introduced a new variable azureAIUserRoleId in infra/modules/vmscriptsetup.bicep to reference the "Azure AI User" role definition ID.
  • Replaced the use of the old "Cognitive Services OpenAI User" role with the new "Azure AI User" role in the role assignment resource, ensuring the correct role definition ID is used for VM script setup.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Prajwal-Microsoft
Prajwal-Microsoft merged commit 5009774 into main Dec 17, 2025
3 checks passed
@Prajwal-Microsoft
Prajwal-Microsoft deleted the bug-fix branch December 17, 2025 12:06
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants