Views:

Applies to Product- Power Automate

What’s happening?

Files are readable in the SharePoint document library but become unreadable when attached to a SharePoint list using a Power Automate cloud flow.


Reason:
This may be caused by a misconfiguration in the Power Automate cloud flow, faulty steps during the attachment process, or compatibility issues between the Power Automate flow and the SharePoint list's attachment handling.


Resolution:

  1. Use the 'Get file content using path' action to retrieve the file content before attaching it to the SharePoint list. This method has been found to prevent corruption.
  2. Ensure that the input to the 'add attachments' action is the file content rather than a URL to the file.
  3. Verify that the file format and size are compatible with SharePoint list settings.
  4. Check for any restrictions or limitations in the SharePoint and Power Automate flow settings that may affect the attachment process.