Skip to content

refactor: Updated Foundry Roles name#851

Merged
Prajwal-Microsoft merged 2 commits into
devfrom
PSL-US-43670
May 19, 2026
Merged

refactor: Updated Foundry Roles name#851
Prajwal-Microsoft merged 2 commits into
devfrom
PSL-US-43670

Conversation

@AjitPadhi-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

  • This pull request updates all references to the "Azure AI User" role to "Foundry User" across documentation, infrastructure-as-code (Bicep and JSON ARM templates), and local development scripts. The changes are primarily to ensure consistent naming and clarity as the role's official name is "Foundry User." Additionally, there are minor updates to Bicep-generated metadata and the ordering of dependencies in the ARM template.

Role naming consistency updates:

  • All documentation and code comments now refer to the "Foundry User" role instead of "Azure AI User" to match the official role name. This includes updates in docs/LocalDevelopmentSetup.md, Bicep modules, and comments in infra/modules/deploy_foundry_role_assignment.bicep. [1] [2] [3] [4] [5] [6] [7]

  • All user-facing messages and logging in local development scripts (scripts/local_dev.sh and scripts/local_dev.ps1) have been updated to use "Foundry User" instead of "Azure AI User". [1] [2] [3] [4]

Infrastructure and template updates:

  • The Bicep-generated ARM templates (infra/main.json) have updated metadata to reflect the new Bicep compiler version and template hashes. [1] [2] [3] [4] [5] [6] [7] [8]

  • The dependency order for private DNS zones in the ARM template was corrected for improved deployment reliability.

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

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

This PR rebrands all user-facing references to the Azure RBAC role with ID 53ca6127-db72-4b80-b1b0-d745d6d5456d from "Azure AI User" to "Foundry User" across documentation, Bicep modules, and local-dev scripts. It also picks up an incidental regeneration of infra/main.json (new Bicep compiler version, refreshed template hashes, and a reordering of two dependsOn entries for private DNS zones).

Changes:

  • Rename role label "Azure AI User" → "Foundry User" in docs, Bicep comments, and script log/error messages.
  • Regenerate infra/main.json with Bicep 0.43.8.12551 (new template hashes, minor dependsOn reordering).
  • No functional code changes; role GUID 53ca6127-db72-4b80-b1b0-d745d6d5456d is unchanged.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/LocalDevelopmentSetup.md Updates troubleshooting heading and the --role argument in manual az role assignment create examples.
infra/main.bicep Updates inline comments next to role assignment entries.
infra/main_custom.bicep Same comment updates as main.bicep for the custom variant.
infra/modules/deploy_foundry_role_assignment.bicep Updates two header comments; symbol names retained.
infra/main.json Regenerated ARM output: new bicep version/template hashes and reordered DNS zone dependsOn.
scripts/local_dev.sh Updates print messages in ensure_azure_ai_user_role.
scripts/local_dev.ps1 Updates Write-Info/Success/Error messages in Ensure-AzureAIUserRole.

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

Comment thread docs/LocalDevelopmentSetup.md
Comment thread scripts/local_dev.sh
Comment thread scripts/local_dev.ps1
Comment thread infra/modules/deploy_foundry_role_assignment.bicep
@Prajwal-Microsoft Prajwal-Microsoft merged commit 78ac4fe into dev May 19, 2026
4 checks passed
@AjitPadhi-Microsoft AjitPadhi-Microsoft deleted the PSL-US-43670 branch May 20, 2026 04:52
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.6.0 🎉

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