Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new Microsoft Copilot Studio (MCS) relay agent sample that demonstrates how to call Copilot Studio Agents from an Agent instance. The sample includes comprehensive setup scripts, configuration files, and a complete C# implementation.
Key changes:
- PowerShell automation scripts for Agent Blueprint and Agent User creation
- Complete C# relay agent implementation with authentication and notification handling
- Extensive documentation covering setup, deployment, and troubleshooting
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 22 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/createAgenticUser.ps1 |
Script to create Agent Identity and Agent User with configuration support |
scripts/createAgentBlueprint.ps1 |
Script to create Agent Blueprint and configure permissions with MCP scope support |
scripts/Add-AgentBlueprintPermissions.ps1 |
Script to manage inheritable delegated scopes for Agent Blueprints |
scripts/DelegatedAgentApplicationCreateConsent.ps1 |
Script to grant AgentApplication.Create permissions |
scripts/README.md |
Setup documentation for Agent Blueprint creation and configuration |
scripts/README_AgentUserCreation.md |
Documentation for Agent Identity and Agent User creation |
README.md |
Comprehensive setup guide covering the entire deployment process |
appsettings.json |
Configuration template for token validation, authentication, and Copilot Studio connection |
AgenticRelay/Program.cs |
Main entry point configuring the agent application and middleware |
AgenticRelay/AgenticRelay.cs |
Core agent logic handling notifications and relaying to MCS |
AgenticRelay/AspNetExtensions.cs |
Token validation extensions for ABS/SMBA authentication |
AgenticRelay/AgenticRelay.csproj |
Project file with required package dependencies |
AgenticRelayExample.sln |
Solution file for the sample project |
.gitignore |
Git ignore rules for development files |
|
|
||
| This sample demonstrates how to call Copilot Studio Agents from an Agent instance. | ||
|
|
||
| ## Run the setup scripts |
There was a problem hiding this comment.
Please have the developer set up the Azure resources via the devtools CLI instead of these individual scripts.
There was a problem hiding this comment.
There was a problem hiding this comment.
Could this come in a subsequent PR?
There was a problem hiding this comment.
Please refer to the other README.md files in the repo to see what they are expected to look like.
There was a problem hiding this comment.
We should use the CLI for this and all other scripts
There was a problem hiding this comment.
Ack. I can commit to moving to the CLI this evening. Could it come after this initial PR?
No description provided.