Add missing existingFoundryProjectResourceId parameter to main.parameters.waf.json
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.bicepas an optional parameter - Present in the standard
infra/main.parameters.jsonfile - 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
enablePrivateNetworkingparameter 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.jsonare now present inmain.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:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
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.