web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert OneDrive binar...
Power Automate
Unanswered

Convert OneDrive binary file to base 64 string

(0) ShareShare
ReportReport
Posted on by

Hello All

 

I have a scenario where we upload upload a pdf-file to OneDrive for business.

 

The upload trigger a flow. In the flow we need to convert the pdf-file to a base64 encded string. We will use the string in a http POST request body. I have tried with various ways but not been able to do the conversion. Any ideas?

 

br

 

Adam

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Which function are you using to covert the PDF file content to a base64 encoded string?

     

    Please take a try with function base64 from this document:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#base64

     

    A test flow for your reference:

    1.PNG

     

    Best regards,

    Mabel

     

  • ameyholden1 Profile Picture
    26 on at

    Thanks for this 😊

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard