Skip to content

refactor: Updated Foundry Roles name#988

Merged
Prajwal-Microsoft merged 1 commit into
dev-v4from
PSL-US-43670
May 19, 2026
Merged

refactor: Updated Foundry Roles name#988
Prajwal-Microsoft merged 1 commit into
dev-v4from
PSL-US-43670

Conversation

@AjitPadhi-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

  • This pull request updates the naming of the Azure role used for Foundry access throughout the codebase and documentation, changing references from "Azure AI User" to "Foundry User". This ensures consistency with Azure's current role naming and helps avoid confusion for users and developers. Additionally, the infrastructure templates have been regenerated with a newer Bicep version.

Role name updates:

  • All references to the "Azure AI User" role have been replaced with "Foundry User" in Bicep modules (infra/main.bicep, infra/main_custom.bicep) for both user-assigned identities and deploying users. [1] [2] [3] [4] [5] [6]
  • The Bash script assign_azure_ai_user_role.sh now refers to "Foundry User" instead of "Azure AI User" in all output messages and logic.
  • Documentation has been updated to instruct users to assign the "Foundry User" role rather than "Azure AI User". [1] [2]

Infrastructure template regeneration:

  • The main ARM template (infra/main.json) has been regenerated with Bicep version 0.43.8, updating the _generator metadata and templateHash values. [1] [2] [3] [4] [5] [6] [7]

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Renames references to the "Azure AI User" Azure role to "Foundry User" across Bicep templates, deployment scripts, and documentation, and regenerates the ARM template with Bicep 0.43.8.

Changes:

  • Updates role name comments in Bicep modules from "Azure AI User" to "Foundry User".
  • Updates Bash script messages and documentation to reference "Foundry User".
  • Regenerates infra/main.json with Bicep v0.43.8 (updated _generator and templateHash).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
infra/main.bicep Renames role comment to "Foundry User" in three role assignments.
infra/main_custom.bicep Renames role comment to "Foundry User" in three role assignments.
infra/main.json Regenerated ARM template with new Bicep version and updated hashes.
infra/scripts/assign_azure_ai_user_role.sh Updates log messages to reference "Foundry User".
docs/re-use-foundry-project.md Updates documentation to reference "Foundry User" role.
docs/LocalDevelopmentSetup.md Updates role assignment instructions to use "Foundry User".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/scripts/assign_azure_ai_user_role.sh
@Prajwal-Microsoft Prajwal-Microsoft merged commit 55bcdaa into dev-v4 May 19, 2026
8 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the PSL-US-43670 branch May 21, 2026 05:11
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.2.3 🎉

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