I have a flow that roughly does the following:
- Triggered when an email arrives from a particular sender
- Gets the list of files in a particular SharePoint folder
- Checks to see if there is a file with the same name as the Subject of the email
- If there isn't, it stops. If there is, it checks to see if the email has an attachment
- If there's an attachment, it updates the file content with the attachment content
The problem I have run into is that after this running successfully for months, I've hit the SharePoint minor version number limit (511 versions) for some of the files which has caused the update step to fail. I have temporarily resolved the issue by manually publishing all the files in the folder but I'm looking for a way to make sure this never happens in future.
I thought there might be a SharePoint "Publish file" action in PA online but there doesn't seem to be one. Does anyone know how you can publish a file with an online flow?
TIA