chore: main to dev down merge - #82
Merged
Merged
Conversation
Updated the deployment guide to include details for configuring the ChatAgent and troubleshooting common errors.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
fix: dev to main merge
…pdates docs: Enhance Deployment Guide with ChatAgent setup and troubleshooting
…gent-activityprotocol fix: Enable ActivityProtocol on newly created Foundry ChatAgent so it can be called from Copilot Studio
Copilot started reviewing on behalf of
Yamini Dhiman (Yamini1-Microsoft)
August 7, 2026 11:26
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request improves Microsoft Foundry agent setup for Copilot Studio integration by automating agent endpoint protocol configuration (to prevent the “endpoint does not support activity” error) and updating the Copilot deployment guide with clearer agent naming and troubleshooting steps.
Changes:
- Added an
enable_activity_protocol()helper to patch an agent endpoint to enable Activity/related protocols and required authorization schemes. - Updated the Foundry agent setup step to call
enable_activity_protocol()after agent creation. - Updated the Copilot deployment guide with explicit Foundry/Fabric agent naming and a troubleshooting section with an
az restexample.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| infra/scripts/foundry/step_agent_setup.py | Calls the new endpoint protocol-enablement step after creating/updating the Foundry agent. |
| infra/scripts/foundry/agent_api.py | Adds enable_activity_protocol() to patch agent endpoint protocol configuration + auth schemes for Copilot Studio. |
| docs/copilot/DeploymentGuide.md | Clarifies required agent naming and adds troubleshooting guidance for the Activity protocol error. |
Roopan-Microsoft
approved these changes
Aug 7, 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.
Purpose
Documentation updates:
ChatAgentand the Fabric Data Agent should be namedRetailSC Ontology Agent.Infrastructure automation improvements:
enable_activity_protocolfunction inagent_api.pyto programmatically enable the Activity, Responses, Invocations, and A2A protocols and required authorization schemes on a Foundry agent endpoint.step_agent_setup.pyto callenable_activity_protocolafter agent creation, ensuring agents are configured correctly for Copilot Studio integration.agent_api.pyandstep_agent_setup.py. [1] [2] [3]These changes collectively reduce manual configuration steps and help prevent integration issues when deploying and connecting Foundry agents with Copilot Studio.
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information