Announcements
{ "name": "filename", "contentBytes": "base64string", "contentType": "mime/type" }
You cannot pass a file or binary attachment directly from Power Automate to a Copilot Studio agent using the “Execute agent and wait → Attachments” field. Although the UI suggests this should work, it is not supported for Copilot Studio agents. The attachments schema comes from Bot Framework (Activity.attachments), but Copilot Studio does not support programmatic file ingestion through this mechanism. When users upload files via drag-and-drop in chat, the file goes through a Microsoft-managed ingestion pipeline (upload, virus scan, chunking, indexing), and only a secure reference ID is passed to the agent. When Power Automate sends raw base64 or binary content, that ingestion pipeline is bypassed, so the runtime rejects the file or falls back silently. The supported pattern is to send a file reference—not the file itself. The recommended approach is to store the document in SharePoint or OneDrive, then pass metadata (such as file name, URL, or item ID) to the agent. The agent can then retrieve and analyze the file securely. Another reliable approach is to let the agent call a Power Automate flow or connector to fetch the document when needed. For autonomous scenarios, a document landing in SharePoint should trigger a flow that passes the file URL to the agent for processing, rather than pushing binary content into it. Unsupported approaches include sending base64 content, using contentBytes, chunking the file into prompt text, or converting PDFs to raw text before sending to the agent. Copilot Studio restricts direct binary ingestion by design to enforce security, scanning, tenant isolation, and permissions.
But you can achieve same (or better) results by:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 704
Vish WR 249
Haque 244