Skip to content

chore: dev to main merge#131

Merged
Roopan-Microsoft merged 36 commits intomainfrom
dev
Apr 20, 2026
Merged

chore: dev to main merge#131
Roopan-Microsoft merged 36 commits intomainfrom
dev

Conversation

@Saswato-Microsoft
Copy link
Copy Markdown

Purpose

This pull request introduces several improvements and clarifications to the deployment process, infrastructure configuration, and documentation for the accelerator. The main changes enhance automation for service principal handling, clarify and standardize VM credential management, update quota check instructions, and improve workflow triggers and environment variable handling for CI/CD. These updates aim to make deployments more reliable, transparent, and user-friendly.

Infrastructure and Workflow Automation:

  • Service principal handling is now automated: the workflows resolve and set AZURE_PRINCIPAL_ID dynamically if not provided, and use AZURE_PRINCIPAL_TYPE with a default of 'ServicePrincipal'. This ensures correct role assignments and RBAC configuration during deployment. (.github/workflows/azure-dev.yml, infra/main.bicepparam, [1] [2] [3]
  • The GitHub Actions workflows now check out submodules recursively and are triggered only on infrastructure-related changes, reducing unnecessary runs and ensuring all dependencies are present. (.github/workflows/azd-template-validation.yml, .github/workflows/azure-dev.yml, [1] [2] [3]

VM Credential Management and Documentation:

  • The process for setting and retrieving Jump VM admin credentials is standardized: environment variables (VM_ADMIN_USERNAME, VM_ADMIN_PASSWORD) are now the recommended method, with clear fallbacks and defaults (testvmuser for username, a default password). Documentation is updated to reflect this across guides and troubleshooting sections. (infra/main.bicepparam, docs/ACCESSING_PRIVATE_RESOURCES.md, docs/deploymentguide.md, docs/post_deployment_steps.md, [1] [2] [3] [4] [5]

Quota Check and Model/Capacity Documentation:

  • The quota check documentation is expanded to cover both AI model and Microsoft Fabric capacity requirements, with updated default values, sample output, and clear instructions for both Bash and PowerShell usage. (docs/quota_check.md, [1] [2]

Other Notable Improvements:

  • The required Bicep version is now specified in azure.yaml to ensure compatibility. (azure.yaml, azure.yamlR5)
  • Resource group creation is automated in the workflow if it does not exist, further reducing manual setup steps. (.github/workflows/azure-dev.yml, .github/workflows/azure-dev.ymlL27-R96)

Let me know if you want to walk through any of these changes in detail or see how they impact your development workflow!

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

Harmanpreet-Microsoft and others added 30 commits March 30, 2026 14:24
chore: Update post-release process steps and fix deployment issues
Roopan-Microsoft and others added 6 commits April 9, 2026 11:35
fix: add bicep version requirement (>= 0.33.0) to azure.yaml
ci: Enhance Azure Dev workflow with submodule support and service principal configuration
fix: Set functional default VM admin password and credential params
feat: Add quota check scripts for Azure OpenAI models and Fabric capacity
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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.

This PR improves deployment reliability and documentation by adding pre-deployment quota checking scripts, tightening CI workflow triggers, and standardizing infrastructure parameters for principal handling and VM credentials.

Changes:

  • Added Bash and PowerShell quota check scripts and expanded quota documentation (OpenAI + optional Fabric capacity checks).
  • Updated GitHub Actions workflows to reduce unnecessary runs, checkout submodules recursively, and automate principal ID/resource group handling.
  • Updated Bicep parameters and docs to standardize principal type and Jump VM credential configuration.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
scripts/quota_check.sh Adds Bash quota checker for OpenAI (and optional Fabric) across regions.
scripts/quota_check.ps1 Adds PowerShell quota checker equivalent to the Bash script.
infra/main.bicepparam Adds env-driven principal type and VM username; changes VM password default.
docs/quota_check.md Updates quota-check guidance and adds Bash/PowerShell usage examples + sample output.
docs/post_deployment_steps.md Updates Bastion/Jump VM credential instructions and defaults.
docs/deploymentguide.md Updates VM credential configuration guidance and examples.
docs/deploy_app_from_foundry.md Clarifies where VM credentials come from.
docs/ACCESSING_PRIVATE_RESOURCES.md Updates Jump VM credential retrieval/reset guidance.
azure.yaml Adds required Bicep version constraint.
.github/workflows/azure-dev.yml Adds submodule checkout + principal ID resolution + RG creation before provisioning.
.github/workflows/azd-template-validation.yml Adds path filters, submodule checkout, and principal env vars for validation.

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

Comment thread infra/main.bicepparam
Comment thread docs/deploymentguide.md
Comment thread .github/workflows/azure-dev.yml
Comment thread .github/workflows/azd-template-validation.yml
Comment thread infra/main.bicepparam
Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
Comment thread .github/workflows/azure-dev.yml
Rafi-Microsoft added a commit to Rafi-Microsoft/Deploy-Your-AI-Application-In-Production that referenced this pull request Apr 20, 2026
Replace unsafe eval-based dynamic variable names with a declare -A
associative array keyed by 'region:index'. This eliminates potential
code-injection risks from eval and improves script maintainability.

Addresses Copilot review comments on PR microsoft#131 (lines 191, 216, 226, 294
of scripts/quota_check.sh).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Roopan-Microsoft Roopan-Microsoft merged commit f1cbea8 into main Apr 20, 2026
7 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the dev branch April 20, 2026 09:56
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Roopan-Microsoft Roopan-Microsoft restored the dev branch April 21, 2026 13:53
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.

6 participants