Hello everybody,
I am in the middle of building a workflow that first copies a SharePoint SitePage, and should eventually publish this modern SharePoint SitePage on the new site.
Inspired by the following article http://www.sites.se/2018/08/sharepoint-modern-pages-microsoft-flow/ (step 7) I was trying to include an action in my Flow that does exactly that. Send an HTTP request to SharePoint to publish a SharePoint SitePage.
I came to the conclusion that the action succeeds, but the SitePage still remains in Approval Status: "Pending".
The desired outcome is not achieved. The response I am receiving is Publish equals false. But why?
Am I using the wrong method?
Below I have attached screenshots of both the input and output of this action.


Could anyone help me clarify this behavior and outcome?
Thanks a lot!
Joost