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

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Suggested answer

Upload large files from Power Apps to Azure Blob or SharePoint

(0) ShareShare
ReportReport
Posted on by

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:

Set(fileData, JSON(First(DataCardValue.Attachments), JSONFormat.IncludeBinaryData))

But it doesn’t give me the file content either.

 

❓Questions:

  1. How can I extract the actual file content (Base64 or binary) from the uploaded file?

  2. Is there a better way to handle large file uploads to Azure Blob from Power Apps?

  3. Can I do this without using SharePoint or Dataverse as intermediaries?


  4.  

Appreciate any suggestions, workarounds, or sample solutions. Thanks!

I have the same question (0)
  • Suggested answer
    Power Apps 1919 Profile Picture
    604 on at
    Upload large files from Power Apps to Azure Blob or SharePoint

    Hi ,

    Adding to the discussion

    You can try using Power Automate (V2 trigger)that reliably handles file uploads from Power Apps:

    Steps:
    In Power Automate:
    1. Use the “Power Apps (V2)” trigger.


    2. In the Create file action, set the fields like this: 

    in File name property use 
    triggerBody()['file']['name']
    in File Content property use 
    triggerBody()['file']['contentBytes']
    Complete Flow pic:

    In Power Apps Side:
    Set the Submit button’s OnSelect formula as:
    Upload_Attachments_to_Onedrive.Run(
        {
            file: {
                name: First(Attachments.Attachments).Name,
                contentBytes: First(Attachments.Attachments).Value
            }
        }
    )
    
    Note: This setup will upload only one file per run from the attachments control.
  • Suggested answer
    Power Apps 1919 Profile Picture
    604 on at
    Upload large files from Power Apps to Azure Blob or SharePoint
    Power Automate has limitations that it cannot send more than 100mb request payload between action and triggers.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics