Skip to content

[Agents Extension] Some env var changes#7355

Merged
trangevi merged 2 commits intomainfrom
trangevi/bicep-related-fixes
Mar 27, 2026
Merged

[Agents Extension] Some env var changes#7355
trangevi merged 2 commits intomainfrom
trangevi/bicep-related-fixes

Conversation

@trangevi
Copy link
Copy Markdown
Member

@trangevi trangevi commented Mar 26, 2026

Properly set app insights connection name env var, to be used by bicep so we don't create redundant connections.

Disable cap host provisioning if deploying to vnext. This will also change when we support BYO storage.

Signed-off-by: trangevi <trangevi@microsoft.com>
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

Updates the Azure AI Agents extension init flow to persist the selected Application Insights connection name into the azd environment, enabling downstream IaC (e.g., Bicep) to reference an existing connection and avoid creating redundant ones.

Changes:

  • Set APPLICATIONINSIGHTS_CONNECTION_NAME from the selected Foundry connection.
  • Adjust env var writes for Application Insights connection selection flow.

Signed-off-by: trangevi <trangevi@microsoft.com>
@trangevi trangevi changed the title [Agents Extension] Properly set app insights connection name env var [Agents Extension] Some env var changes Mar 26, 2026
@trangevi
Copy link
Copy Markdown
Member Author

/check-enforcer override

@trangevi trangevi merged commit b70678d into main Mar 27, 2026
5 checks passed
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.

4 participants