Skip to content

Conversation

@Abdul-Microsoft
Copy link
Contributor

Purpose

  • This pull request introduces a consistent update across multiple Bicep files to specify the principalType as 'ServicePrincipal' in role assignment resources. This change ensures clarity and consistency in defining the type of principal for role assignments.

Updates to Role Assignments:

  • infra/modules/role.bicep: Added principalType: 'ServicePrincipal' to the properties block for the following resources:

    • aiUserAccessFoundry
    • aiDeveloperAccessFoundry
    • cognitiveServiceOpenAIUserAccessFoundry
  • infra/old/deploy_ai_foundry.bicep: Added principalType: 'ServicePrincipal' to the properties block for the aiDevelopertoAIProject role assignment.

Updates to Module Role Assignments:

  • infra/old/main.bicep: Added principalType: 'ServicePrincipal' to the role assignment definitions in the following modules:
    • aiFoundryStorageAccount for the Storage Blob Data Contributor role.
    • aiFoundryAiProject for the Azure AI Developer role.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Prajwal-Microsoft Prajwal-Microsoft merged commit 22b01a3 into main Jul 22, 2025
7 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants