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

Announcements

News and Announcements icon
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 Microsoft Employee

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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 460

#2
Vish WR Profile Picture

Vish WR 343

#3
David_MA Profile Picture

David_MA 249 Super User 2026 Season 1

Last 30 days Overall leaderboard