This is the most reliable method currently available:
Step 1: Get Your Agent's Direct URL
Step 2: Use HTTP Action in Power Automate
Method: POST
URI: [Your Copilot Agent URL]/api/botFramework
Headers:
- Content-Type: application/json
- Authorization: Bearer [Your Token]
Body:
{
"type": "message",
"text": "Your query here",
"from": {
"id": "PowerAutomate"
}
}
If your agent was originally a Power Virtual Agent:
Step 1: Create Custom Connector
Step 2: Use Custom Connector
For enterprise scenarios:
POST https://graph.microsoft.com/beta/me/chats/{chat-id}/messages
{
"@odata.type": "#microsoft.graph.chatMessage",
"body": {
"content": "Your query to Copilot"
}
}
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2