Forum Discussion

Mel_C13's avatar
Mel_C13
Brass Contributor
Apr 05, 2023

Page approval flow not working

Hi there

I have configured a page approval on a modern Communications site and the flow appears to create correctly and run properly up to the point that the approval happens.  

But, when it goes to update the page to approved, I get a fail and an error message that says: 

{
  "odata.error": {
    "code""-2147024891, System.UnauthorizedAccessException",
    "message": {
      "lang""en-US",
      "value""Attempted to perform an unauthorized operation."
    }
 
Here is a screenshot of the flow section that is failing.  

 

 I used the out of the box configuration so I am not sure what is happening and what I need to update.  

Hopefully someone here can help out.  

 

Thanks in advance!

  • Mel_C13 What permissions are granted to flow owner on SharePoint site / site pages library?


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs

    • Mel_C13's avatar
      Mel_C13
      Brass Contributor
      Hi Ganesh,
      the owners on the flow are also owners on the site collection.

Resources