Copilot Studio Call Agent Connector
A solution that enables synchronous, deterministic orchestration of Microsoft Copilot Studio agents from Power Platform applications.
Overview
This solution addresses a current gap in the native Copilot Studio connector: the inability to wait for agent responses. The built-in connector initiates conversations asynchronously, making it impossible to orchestrate multiple agents in a deterministic workflow where each step depends on the previous agent’s response.
The solution bridges the gap by:
- Custom Connector accepts synchronous HTTP requests from Power Automate/Apps
- Azure Function acts as a middleware that:
- Receives the synchronous request
- Makes an asynchronous call to the Copilot Studio agent using the Agents SDK
- Waits for the agent’s complete response
- Returns the response synchronously to the caller
- Result: Your Power Automate flow can now wait for and use agent responses in subsequent steps
graph LR
A[Power Apps/Automate] -->|Sync HTTP Call| B[Custom Connector]
B --> C[Azure Function]
C -->|Async Call| D[Copilot Studio Agent]
D -->|Response| C
C -->|Sync Response| B
B --> A
Example Use Case: IT Service Request Workflow

This workflow shows why synchronous agent responses are important for some automation scenarios:
What Happens:
- Employee Request - An employee sends a request to set up a new IT service
- Eligibility Agent evaluates the request and returns structured data, including the eligibility status
- Find Approvers Agent identifies who needs to approve this request, if eligible
- Conditional Logic evaluates BOTH:
- Is the user eligible?
- Was an approver found?
- If Both True: Send approval request to the identified approvers
- If Either False: Notify requester with specific rejection reason (not eligible OR no approver found)
Setup Guide
Follow these steps in order:
| Component | Description | Setup Guide | Order |
|---|---|---|---|
| Azure Function | SyncToAsyncService that bridges synchronous and asynchronous calls | SyncToAsyncService/README.md | 1️⃣ |
| Custom Connector | Power Platform connector that calls the Azure Function | Connector/README.md | 2️⃣ |