Announcements
Hi all,
I'm building a Copilot (Power Virtual Agent) that accepts file attachments from the user. The System.Activity.Attachments object in Copilot gives me a file reference in this format:
System.Activity.Attachments
I need to pass this file (as contentBytes or base64 string) to a Power Automate flow, or access the content directly in Copilot logic. However, I'm running into these issues:
contentBytes
Power Automate file input fails with ConversationFileReference type — expects actual contentBytes
ConversationFileReference
BlobToText or similar conversions are not supported in Copilot expressions
I don’t see any method to resolve this file reference to actual file content
What I'm trying to achieve:
Let user upload a file via Copilot (Teams or Web)
Read the content (as bytes/base64 string or plain text)
Pass it to Power Automate or process it directly
Questions:
How can I access the file content from System.Activity.Attachments[x].Value inside Copilot?
System.Activity.Attachments[x].Value
Is there any way to convert ConversationFileReference into actual contentBytes?
Can Power Automate retrieve file content from this reference automatically?
Is there an API endpoint or Graph call required to resolve this reference?
Thanks in advance for any guidance!
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 298
chiaraalina 108 Super User 2026 Season 1
Michael E. Gernaey 94 Moderator