[Agents Extension] Some env var changes#7355
Merged
Conversation
Signed-off-by: trangevi <trangevi@microsoft.com>
Contributor
There was a problem hiding this comment.
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_NAMEfrom the selected Foundry connection. - Adjust env var writes for Application Insights connection selection flow.
cli/azd/extensions/azure.ai.agents/internal/cmd/init_foundry_resources_helpers.go
Show resolved
Hide resolved
Signed-off-by: trangevi <trangevi@microsoft.com>
JeffreyCA
reviewed
Mar 27, 2026
JeffreyCA
approved these changes
Mar 27, 2026
Member
Author
|
/check-enforcer override |
vhvb1989
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.