New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to approve a site page with Approval flow enabled #9641
Comments
Hi @vspinelli, could you also check the Network tab of your browser's console and review the requests there? I've checked it on my end, and the following requests are triggered. |
Hi @mkm17, have you enabled the approval flow on SItePages library? From the screenshot you have provided, it appears that it has not been enabled. This is the error displayed in the Network tab And this is the payload of the request: In any case, today we notice that after some time, after about 2 minutes of waiting, the approval popup appears |
Hi @vspinelli, I apologize, you were correct. I have just checked the standard approval process. I compared my requests to yours, and I see the same error in the console, but the form loads after some time. It definitely takes less than two minutes, around 7 to 15 seconds. In my case, I don't have any errors in the network tab. As it seems there might be a problem with the Power Automate endpoint |
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
No response
Describe the bug / error
In all our customers sites (diifferent tenant), where we have enabled the Approval flow for modern pages,
since few days, when we try to approve a sitepage, after clicked on "Review approvals" button, the panel loads infinitely, not allowing us to approve the page.
We get an error message in the browser console:
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' https://content.powerapps.com/ https://static.powerapps.com/ https://.cdn.office.net https://wcpstatic.microsoft.com/ https://.msftauth.net https://.res.office365.com https://.monitor.azure.com https://*.flow.microsoft.com 'sha256-...' 'sha256-...' 'sha256-...'"
The issue is not present if the page is approved directly in a email
Steps to reproduce
Expected behavior
The approval panel shows the actions to approve or reject the request
The text was updated successfully, but these errors were encountered: