This is a known limitation/bug in Power Apps attachments when using SharePoint, and you’re not doing anything wrong.
The key detail is this:
The file uploads successfully to SharePoint, but Power Apps fails when trying to download Excel files larger than ~5 MB from the Attachments control.
PowerPoint works, Excel fails — exactly as you described.
✅ Why this happens
Power Apps handles attachments very differently from SharePoint.
What actually occurs behind the scenes:
Excel files (.xlsx) are ZIP-compressed binary files, and Power Apps hits an internal memory/streaming limit.
PowerPoint files stream differently and often don’t hit the same limit — which is why PPT works but Excel fails.
This is not related to SharePoint size limits.
⚠️ Known limitations
Power Apps has the following constraints:
-
Attachment download uses client-side memory
-
Large Excel files exceed the canvas app binary buffer
-
Error appears even though the file exists in SharePoint
-
Happens typically at ~5–7 MB and above
-
Only affects certain file types (mainly .xlsx, sometimes .csv)
Microsoft has acknowledged this limitation but has not fixed it yet.
❌ What will NOT fix it
-
Increasing SharePoint attachment limit ❌
-
Changing form settings ❌
-
Using different browsers ❌
-
Using Power Apps mobile ❌
-
Rebuilding the form ❌
✅ Recommended workaround (best practice)
👉 Do NOT download attachments through Power Apps
Instead, redirect the user to the actual SharePoint file.
✅ Solution 1 — Open attachment directly from SharePoint
Use this formula in your attachment gallery:
Launch(ThisItem.AbsoluteUri)
or
Launch(ThisItem.Value)
(depending on your attachment schema)
This opens or downloads the file directly from SharePoint, bypassing Power Apps completely.
✅ Works for all file sizes
✅ Works for Excel
✅ Works for PPT
✅ No memory limits
✅ Solution 2 — Store files in a Document Library (recommended)
Instead of SharePoint list attachments:
Then download using:
Launch(ThisItem.FileLink)
This is Microsoft’s recommended architecture for files larger than a few MB.
✅ Solution 3 — Use Power Automate to generate download link
Flow steps:
-
Receive Item ID
-
Get attachments
-
Generate sharing link
-
Return URL to Power Apps
-
Launch(URL)
This also bypasses Power Apps file memory limits.
🧠 Why Microsoft recommends document libraries
List attachments were never designed for:
-
large files
-
Excel documents
-
repeated downloads
-
mobile access
-
Power Apps consumption
Document libraries support:
-
streaming downloads
-
large files
-
version history
-
stable URLs
-
performance
✅ Summary
-
✔ SharePoint upload works correctly
-
❌ Power Apps attachment download has size/type limitations
-
❌ Excel files >5 MB fail to download
-
✔ This is a known Power Apps limitation
-
✔ Not fixable from app side
✅ Best solution
Use SharePoint direct links instead of Power Apps attachment downloads.
Launch(ThisItem.AbsoluteUri)
or move files to a document library.
✅ Final recommendation
If files can exceed 5 MB:
Never rely on SharePoint list attachments inside Power Apps.
Always use:
This avoids this issue permanently.