Is there any way to edit the Access Denied message that displays when a user tries to view a site page they don't have access to? Or create a custom message?
I have a SharePoint Online communication site that will house some information we don't want to share with all users. My plan has been to create two different permission groups for our users, then use the Manage Access feature in the Site Pages library to "stop sharing" certain pages with the group we don't want to have access. The problem is: ideally, I'd like to edit the Access Denied message they would receive to remove the suggestions for how to gain access and instead explain why access was denied. Can this be done?
Thanks for your help,