Skip to main content
Post

#PowerPlatformTip 156: 'Handle Files up to 1 GB with Chunking in Power Automate'

#PowerPlatformTip 156: 'Handle Files up to 1 GB with Chunking in Power Automate'

TL;DR: A single Power Automate message is limited to 100 MB. Enable Allow chunking under an action’s Settings → Content transfer and supported actions handle files up to 1 GB — but only when the file flows directly from one file action to the next. The moment a variable, expression or a Compose sits in between, you are back to the 100 MB ceiling. Beyond 1 GB, copy server-side (e.g. a SharePoint copy job).

Update 31 October 2026: Re-checked in the new designer (Settings tab, Networking, Content transfer). The Allow chunking toggle is there on SharePoint Create file and OneDrive for Business Create file, and on the premium HTTP action. It is not there on SharePoint Get file content, SharePoint Get file content using path, SharePoint Send an HTTP request to SharePoint or OneDrive Get file content (the Microsoft Learn reference for OneDrive Get file content using path lists only File Path and Infer Content Type). So for the file actions in this tip, you switch chunking on at the Create file step. Check the Settings of each action and only rely on the toggle where it exists.

Uploading or copying a large document in a flow suddenly fails with a size or timeout error? You have hit the 100 MB message size limit that applies to a single HTTP call in Power Automate. For actions that support it, switching on Allow chunking raises the ceiling to 1 GB by splitting the payload into smaller pieces automatically.

💡 Challenge

Your flow moves, uploads or downloads a file — a big PDF, video or backup — and the run fails or times out once the file grows past roughly 100 MB. That is expected: the limit on a single message in an automated, scheduled or instant flow is 100 MB, and when you send a file through a connector the whole payload (headers, metadata and file) must stay under that limit — not just the file itself.

✅ Solution

Many file actions can transfer larger content in pieces instead of one block. Turning on Allow chunking in the action’s Content transfer settings lets supported actions process files up to 1 GB. The chunking protocol is handled for you — you do not split anything manually. The catch: a file bigger than 100 MB can only pass straight from one chunk-enabled file action to the next. The moment an in-between step (a variable, an expression, or a Compose) touches it, the run hits the 100 MB message limit.

🔧 How It’s Done

1. Open the action’s settings.

🔸 Open the action that uploads the file, for example SharePoint Create file or OneDrive for Business Create file (or the premium HTTP action), and go to its Settings tab.

2. Enable Allow chunking.

🔸 Under Networking, find Content transfer and set Allow chunking to On. Save the flow.

Power Automate new designer: Settings tab of the SharePoint Create file action with Allow chunking switched On under Networking, Content transfer SharePoint Create file in the new designer: Settings tab, Networking, Content transfer, Allow chunking set to On.

🔸 Not every action offers the switch. SharePoint Send an HTTP request to SharePoint, for example, has no Content transfer section at all:

Power Automate new designer: Settings tab of the SharePoint Send an HTTP request to SharePoint action, Networking shows only Retry policy, no Allow chunking toggle SharePoint Send an HTTP request to SharePoint: Networking shows only Retry policy. No Allow chunking here, and the same is true for SharePoint and OneDrive Get file content.

🔸 With chunking on, supported actions handle payloads up to 1 GB instead of 100 MB.

Power Automate real flow run: an HTTP GET with Allow chunking enabled, response headers show Transfer-Encoding chunked, status 200 Premium HTTP action (not a SharePoint action): real flow run, with chunking enabled the response headers confirm Transfer-Encoding: chunked was actually used - status 200, real data.

3. For real >100 MB, connect the two file actions directly.

🔸 Chunking is not supported on triggers.

🔸 In the second action, pick the file content straight from the first action’s output — for example set the Create file File Content to the File Content of Get file content. Nothing should sit between them.

🔸 Don’t park the file in a variable or a Compose in between. Those are ordinary steps that are still capped at 100 MB — a bigger file makes the run fail. In short: a Compose does not lift the limit to 1 GB.

4. Compose is not a bypass for large files.

🔸 A Compose action doesn’t raise limits. For true large-file transfer, keep the file handoff direct between chunk-capable file actions.

5. Confirm the connector actually supports chunking.

🔸 Not every action supports chunking, and some connectors don’t even honor the default 100 MB. If an action doesn’t show the toggle (for example SharePoint Send an HTTP request to SharePoint or any Get file content) or still fails, that action isn’t chunk-enabled.

🔸 For HTTP actions specifically, the external endpoint must implement the Logic Apps chunking protocol (206 Partial Content for downloads, x-ms-transfer-mode: chunked + PATCH for uploads). A generic web server that only speaks standard HTTP chunking will not work.

6. For files well beyond 1 GB, copy server-side (never move the bytes through the flow).

🔸 Azure Blob: Copy Blob From URL with a Microsoft Graph @microsoft.graph.downloadUrl.

🔸 SharePoint → SharePoint: the Copy file action copies within the same tenant server-side. For large or bulk moves, use the current SharePoint & OneDrive Copy and Move API. If you still use CreateCopyJobs (POST /_api/site/CreateCopyJobs), note it is deprecated in Learn.

💡 Extra tip — beyond 1 GB in SharePoint: Don’t try to force a multi-GB file through chunking. Use a SharePoint copy job. The simplest option is the standard Copy file action (same tenant). For heavier scenarios (very large files, whole folders, many files), use the SharePoint copy/move API so SharePoint performs the transfer server-side and the bytes never pass through flow messages.

Minimal CreateCopyJobs request body pattern (legacy endpoint):

1
2
3
4
5
6
7
8
9
10
11
{
  "exportObjectUris": [
    "https://contoso.sharepoint.com/sites/your-site/Shared%20Documents/source-file.pdf"
  ],
  "destinationUri": "https://contoso.sharepoint.com/sites/your-site/Shared%20Documents/Archive",
  "options": {
    "IsMoveMode": false,
    "IgnoreVersionHistory": false,
    "NameConflictBehavior": 1
  }
}

🔁 The one rule that trips everyone up

A large file has to travel directly from one file action to the next. Put anything in between and it stops at 100 MB. Compare the two flows:

❌ Fails above 100 MB

Get file content → Set variable / Compose → Create file

🔸 The middle step “unpacks” the whole file into memory → the 100 MB limit kicks in → the run fails.

✅ Works up to 1 GB

Get file content → Create file

🔸 Turn Allow chunking on in Create file, the action that offers the toggle. The Get file content actions have no such switch in the designer.

🔸 In Create file, pick the File Content straight from Get file content — no variable, no Compose, no expression in between.

Think of it like a relay baton: as long as one file action hands the file directly to the next, it can be huge. The instant a variable or Compose grabs the baton, everything over 100 MB drops.

flowchart LR
    subgraph Fails["❌ Fails above 100 MB"]
        A1["Get file content"] --> A2["Set variable / Compose"] --> A3["Create file"]
    end
    subgraph Works["✅ Works up to 1 GB"]
        B1["Get file content"] -->|"Allow chunking on Create file"| B2["Create file"]
    end

🎉 Result

Large-file actions that used to fail at ~100 MB now transfer content up to 1 GB — as long as the file goes straight from one file action to the next. Above 1 GB, a server-side copy (Azure Blob or a SharePoint copy job) moves the file without ever touching Power Automate’s size limits. No premium connector, no restructuring, and no manual splitting.

🌟 Key Advantages

🔸 One toggle: Allow chunking is a per-action setting, not a redesign.

🔸 10x headroom: 100 MB → 1 GB on supported actions.

🔸 Built-in: works with standard HTTP (endpoint must implement the Logic Apps chunking protocol) and many standard file actions — no premium licence required.

🛠️ FAQ

1. What exactly is the limit — 100 MB or 1 GB?

A single message is 100 MB by default. With Allow chunking enabled and the file passed straight from one file action to the next, the limit rises to 1 GB.

2. Why does my flow still fail after enabling chunking?

Usually one of these: the connector doesn’t support chunking, the HTTP endpoint doesn’t speak the Logic Apps chunking protocol, or a step in the middle (a variable, expression or Compose) grabs the file and hits the 100 MB limit. Connect the two file actions directly instead.

3. Can I route the >100 MB file through a Compose to reach 1 GB?

No — that is the classic trap. Compose is still capped at 100 MB and can’t handle a bigger file (the run fails). Compose only helps for ≤100 MB content that needs to switch chunking back on toward a connector with a smaller-than-100 MB limit. For genuine >100 MB, connect the two file actions directly — no Compose, no variable.

4. Does chunking work on triggers?

No. Chunking applies to actions only. A trigger can’t deliver more than the default limit, so pull large content with a separate action after the trigger.

5. The file is 3 GB — what now?

Chunking tops out at 1 GB, so copy server-side. Within SharePoint, use the Copy file action or the CreateCopyJobs REST API (POST /_api/site/CreateCopyJobs via Send an HTTP request to SharePoint) — SharePoint copies/moves the file on the server up to its 250 GB file limit, bytes never entering the flow. For blob storage, use Azure Blob Copy Blob From URL with a direct download URL.

6. Enabling chunking removed my Overwrite option — is that related?

In the classic designer, yes: SharePoint Create file hid Overwrite while chunking was on. In the new designer no Overwrite toggle appears either way, and Create file replaces an existing file. See #PowerPlatformTip 27.

🎥 Video Tutorial

This tip is by Marcel Lehmann, Microsoft MVP (Business Applications) and founder of the Power Platform Academy, which runs free live workshops (in German). See the next free workshop dates (in German). For companies that want this implemented for them, see KMUpower: Power Platform consulting & automation for SMEs (DACH).

This post is licensed under CC BY 4.0 by the author.

Microsoft and the Power Platform product names (for example Power Apps, Power Automate, Copilot Studio) are trademarks of the Microsoft group of companies. This is an independent website. It is not operated, sponsored or endorsed by Microsoft.