Notifications
Announcements
No record found.
Hello everyone,
I'm currently working on a Power Automate flow where I receive an attachment from Copilot Studio and would like to add it to a note in Microsoft Dynamics. The attachment is passed to Power Automate via a contentUrl and converted from JSON to in binary format.
contentUrl
Unfortunately, I'm unable to use the binary content directly when creating the note, and I'm also unable to convert it to Base64. Additionally, using SharePoint to create the file isn't an option, as doing so breaks the Copilot-to-Automate handoff.
Has anyone successfully managed to convert a binary file from a contentUrl into a format that can be used as an attachment in a Dynamics note—without relying on SharePoint?
Any insights or alternative approaches would be greatly appreciated!
Best regards,
Hi there,
This is a common challenge when working with binary content from contentUrl in Power Automate, especially when integrating with Dynamics 365 Notes.
Here’s a possible approach that avoids using SharePoint:
Use HTTP Get to Retrieve the File:
Convert Binary to Base64:
base64()
Create Note with Attachment:
Annotation
Subject
Document Body
File Name
Mime Type
application/pdf
image/png
Regarding
Make sure your flow has the necessary permissions to access the file and create records in Dataverse.
Let me know if you'd like help building the flow or troubleshooting the conversion!
Please verify if this response was helpful.
Best regards!
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 137 Super User 2025 Season 2
#ManoVerse 57
Jimmy Passeti 50 Most Valuable Professional