File Format & Compatibility

Fix Power Automate Cannot Add SharePoint Images to Word Documents

Anum MushtaqAnum Mushtaq Nov 3, 2026 869 views

Question details

The user is unable to insert JPG or PNG images from a SharePoint list into a Word document using a Power Automate flow.

How to Fix Power Automate Failing to Add SharePoint Images to Word
Product
Microsoft Word / Power Automate
Device & OS
not provided
Scenario
Populating a Word document template with data and images dynamically retrieved from a SharePoint list using Microsoft Power Automate.
Observed behavior
The Power Automate flow rejects the image files during the population step, returning an error message stating that the image format is invalid.
Before you start

Ensure you have the necessary site permissions to access the SharePoint list and read the underlying image files, and verify that your Word document template is saved in the modern .docx format.

Solution 1Recommended

Use Picture Content Controls and Pass File Content

To successfully populate images into a Word document, the template must use a specific Picture Content Control, and the flow must pass the actual file content instead of a URL or filename.

Power Automate cannot process raw image URLs or paths directly into a Word document template. It requires the template to have a dedicated container for the image, and it needs the binary file data (file content) to inject the image successfully.

1
Enable the Developer Tab in Word

Open your Word template. Go to File > Options > Customize Ribbon, check the 'Developer' box in the right column, and click OK.

2
Insert a Picture Content Control

Click exactly where you want the image to appear. Go to the Developer tab and click the 'Picture Content Control' icon. Click 'Properties' in the Developer ribbon and assign it a unique Title and Tag.

3
Retrieve File Content in Power Automate

In your Power Automate flow, add the 'Get file content' action for SharePoint. Use the file identifier from your SharePoint list to fetch the actual image data.

4
Map the Image Data to the Word Template

In the 'Populate a Microsoft Word template' action, locate the field matching your Picture Content Control. Insert the 'File Content' dynamic content from the previous step into this field.

Use Picture Content Controls and Pass File Content
Format Verification: Ensure the image being passed is strictly a standard JPG or PNG file. Highly compressed or modern web formats like WebP may still trigger an invalid format error.
Free Microsoft Office alternative

Try WPS Office for Your Document Needs

Dealing with complex Microsoft Power Automate flows and premium Word connectors can be tedious. WPS Office provides a free, lightweight, and highly compatible alternative for handling your daily document creation and image formatting needs without the hassle.

  1. 1. Download and Install WPS Office: Visit the official WPS website, download the free version, and install it on your device.
  2. 2. Open Your Document: Launch WPS Writer and open your .docx template or create a new document from scratch.
  3. 3. Manage Images Easily: Go to the Insert tab and click 'Picture' to seamlessly add, crop, and format images without needing complex automated flows.
Fully compatible with Microsoft Word (.docx) formatsFree and lightweight with a familiar user interfaceEasy insertion and precise formatting of local or web imagesSeamless transition from Microsoft Office without steep learning curves
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Automate say my JPG or PNG is an invalid format?

This error frequently occurs when the flow attempts to pass the file's URL, path, or metadata to the Word template instead of the actual binary file content. Adding a 'Get file content' action and passing its output resolves this issue.

Do I need a premium Power Automate license to populate Word documents?

Yes, the 'Populate a Microsoft Word template' action is a premium connector in Power Automate. You will need an appropriate premium license or a pay-as-you-go environment to use it.

Can I use standard text controls for images in my Word template?

No, you must specifically insert a 'Picture Content Control' from the Developer tab in Word. Power Automate will only recognize fields formatted as image containers for picture insertion.