Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PDF to SharePoint file


Im trying to upload a PDF file to a sharepoint folder. I have the PDF file stored as Base64 data in a table in SQL Server. But the action "Sharepoint Create file" only takes string value as "File Content", I need to add it as a byte array if I'm not misstaken. How can I do this?




Super User III
Super User III



Hey Mate,


If you want to create a file in SharePoint, set the File content as

base64ToBinary('Base64 content')


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!


Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (95,472)