Hi, how do I unpublish a SharePoint document using a Power Automate flow action?
This is a content approval library where documents with an Approval Status of Approved can be unpublished back to the last minor version in Pending, by selecting the file, then choosing More, then choosing Unpublish in SharePoint.
I want to do this same thing using Power Automate. Select an Approved file and unpublish it. I know how to set up the if statement to check whether or not the content approval status is Approved. I need help with the action to unpublish the selected file. This is the last thing I need to figure out . . . and I'm stuck.
Thank you.
Select file, More, Unpublish