I'm building a Power Apps solution where users can upload files like PDFs, videos, or images (often large in size, e.g. >100 MB), and I want to store these files directly in Azure Blob Storage or SharePoint — organized by a unique folder (like particular day or timestamp).
My aim is to:
Let users upload files through Power Apps
Convert those files to Base64 (or binary)
Send them via Power Automate to Azure Blob or SharePoint
Upload them into the appropriate folder
I'm using the AddMediaButton or Attachments control (datacard - to attach file in sharepoint, created in form itself for attachment) , but I’m running into an issue:
The control only returns appres://blobmanager/...
URI (not the file content)
I cannot access AttachmentContent
or extract Base64 from it.
I tried using:
But it doesn’t give me the file content either.
How can I extract the actual file content (Base64 or binary) from the uploaded file?
Is there a better way to handle large file uploads to Azure Blob from Power Apps?
Can I do this without using SharePoint or Dataverse as intermediaries?
Appreciate any suggestions, workarounds, or sample solutions. Thanks!
Hi ,
Adding to the discussion
You can try using Power Automate (V2 trigger)that reliably handles file uploads from Power Apps:
triggerBody()['file']['name']
triggerBody()['file']['contentBytes']
Upload_Attachments_to_Onedrive.Run(
{
file: {
name: First(Attachments.Attachments).Name,
contentBytes: First(Attachments.Attachments).Value
}
}
)
Stay up to date on forum activity by subscribing.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473