Forum Discussion
How to disable page edit button using power automate?
vrashi , I think this is not possible using Power Automate. You need to grant the lower level permissions (like Read/Visitor) to your users in order to hide the Edit button on SharePoint page.
User Permissions and Permission Levels in SharePoint
Please click Accept as solution if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Like.
I second ganeshsanap's reply. The best thing to do is go to the Pages library settings, and change the permissions of the users' group to either Read or View. You will need to break permission inheritence (Use Unique Permissions) and the change their permissions.
Both Edit and Contribute will allow them to see the Page Edit button.