Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 30, 2025

Overview

This PR updates infra/main.parameters.waf.json to include all parameters defined in the Bicep template, making it consistent with the standard main.parameters.json file.

Problem

The main.parameters.waf.json file was missing the existingFoundryProjectResourceId parameter, which is:

  • Defined in infra/main.bicep as an optional parameter
  • Present in the standard infra/main.parameters.json file
  • Used to reuse an existing AI Foundry project instead of creating a new one

This inconsistency meant that WAF deployments could not take advantage of the existing AI Foundry project feature, even though the Bicep template supports it.

Changes

Added the missing parameter to infra/main.parameters.waf.json:

"existingFoundryProjectResourceId": {
  "value": "${AZURE_ENV_FOUNDRY_PROJECT_ID}"
}

Result

The WAF parameters file now contains:

  • All 10 parameters from the standard parameters file
  • Plus the enablePrivateNetworking parameter set to "true" (specific to WAF deployments)
  • Total: 11 parameters

This ensures that both standard and WAF deployments have access to the same configurable parameters, maintaining consistency across deployment types.

Validation

  • ✅ JSON structure validated
  • ✅ All parameters from main.parameters.json are now present in main.parameters.waf.json
  • ✅ Parameter order and formatting maintained
  • ✅ Compatible with existing Bicep template

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: bicep build main.bicep (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

You need to udpate the main.parameters.waf.json file to have all the lis tof parameters which we have in the Bicep. For reference you can refer to "@microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/files/infra/main.waf.parameters.json". So we need to make it consistent


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title You need to udpate the main.parameters.waf.json file to have all the lis tof parameters which we have in the Bicep. For reference you can refer to "@microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/files/infra/main.waf.parameters.jso... Add missing existingFoundryProjectResourceId parameter to main.parameters.waf.json Sep 30, 2025
Copilot finished work on behalf of Roopan-Microsoft September 30, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants