logo
search
SharePoint Document Issues

Fix SharePoint Cannot Preview Files Uploaded via Power Automate

Maira MehtabMaira Mehtab Sep 20, 2026 868 views

Question details

Files uploaded to SharePoint using a specific Power Automate connector cannot be previewed, while files uploaded through a different connector process correctly.

Product
SharePoint and Power Automate
Device & OS
not provided
Scenario
Automating the retrieval of email attachments and uploading them to a SharePoint library using Power Automate flows.
Observed behavior
Files (including PDFs) uploaded via one connector fail to preview in SharePoint across all browsers, suggesting a connector-specific corruption or configuration issue.
Before you start

Ensure you have site administrator permissions for the destination SharePoint library and access to edit the Power Automate flow.

Solution 1Recommended

Rebuild the Flow and Re-add the Affected Connector

Removing the faulty connector and rebuilding the upload step often resolves metadata or corrupt transfer issues causing preview failures.

Often, preview failures happen because the 'File Content' is incorrectly mapped during the upload process, causing the file to become corrupted. Re-adding the connector ensures a clean configuration.

1
Remove the faulty connector

Open your Power Automate flow in edit mode and delete the specific upload action that is failing to generate previews.

2
Re-add the action

Add a new SharePoint 'Create file' action and reconfigure the site address and folder path.

3
Map file content correctly

Ensure the 'File Content' dynamic content exactly matches the attachment output from the email trigger (binary data), not just the file name or string metadata.

Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

If you frequently encounter issues with SharePoint previews or complex automated workflows, consider managing your documents locally or through reliable cloud drives with WPS Office. It provides a lightweight, highly compatible alternative for handling PDFs, spreadsheets, and presentations.

  1. 1. Download WPS Office: Install WPS Office for free from the official website.
  2. 2. Open your documents: Launch WPS Office and directly open your downloaded PDFs, Word, or Excel files without relying on browser previews.
  3. 3. Edit and save: Make your necessary edits and save the files locally or sync them to your preferred cloud drive.
Highly compatible with Microsoft Office formats (.docx, .xlsx, .pptx) and PDF files.Free and lightweight office suite with an intuitive, familiar interface.Includes built-in PDF viewing and editing tools to reliably open your files.Easily integrates with third-party cloud storage without complex connector setups.
QA img-9

Frequently Asked Questions

Why does SharePoint show a preview error for PDFs uploaded via Power Automate?

This usually happens when the 'File Content' field in the Power Automate 'Create file' action is mapped incorrectly, causing the file to upload as corrupted or Base64 encoded instead of its native binary format.

Does changing the browser fix SharePoint preview issues?

If the file was corrupted during the Power Automate upload process, changing the browser will not resolve the preview issue. The underlying file transfer configuration in the flow must be fixed.

How can I tell if the uploaded file is corrupted?

Manually download the file from SharePoint to your local device. If it fails to open in a desktop application like a PDF reader or Word, the file was corrupted during the upload process.

Can connector permissions affect file previews?

Yes, if the connector lacks the appropriate permissions to write file metadata properly, SharePoint may fail to index the file correctly, resulting in preview generation failures.