cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Luisito
New Member

Sharepoint Update File - Sorry this document can't be opened for editing

I have a Power Automate Flow that runs when a new email message is created in CRM. It checks and retrieves the associated attachment.

Get_Attachments.png

 

Then I retrieve the associated File in SharePoint Library.

Get_Sharepoint_File.png

 

This is how the Sharepoint looks like. The documents under the record.
Show_SharePoint.png

 

Then I have Sharepoint Update File.

Get_Identifier.pngGet_Identifier_2.png

 

The file gets updated. The issue is when I open the file, it shows this error.

SP_Doc_Error.png

 

Looking for suggestion on where to check or the possible reason for this error. Thank you.

2 REPLIES 2
tom_riha
Super User
Super User

Hello @Luisito ,

since you're using the SharePoint action 'Get file content' to get the file content, you should use output from that SharePoint action as the file content in the 'Update file' action, not some dynamic content referencing Dataverse.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]
ZeZe
New Member

I tried to only add text directly into the 'file content', I still got the same error.

Helpful resources

Top Solution Authors
Users online (3,868)