question

Hazi-9775 avatar image
0 Votes"
Hazi-9775 asked AllenXu-MSFT commented

When using the Manage Access feature in SharePoint Online, can you edit the message users see if they're denied access to a page?

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?
131096-access-denied.jpg

For background:
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,

Katina


office-sharepoint-online
access-denied.jpg (44.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnupamShri avatar image
0 Votes"
AnupamShri answered

Unfortunately, there is no such option yet in SharePoint online. You can use Audience Targeting to hide the links to those pages, so that such users who don't have permissions, don't even see those pages.

Thanks,
Anupam

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllenXu-MSFT avatar image
0 Votes"
AllenXu-MSFT answered AllenXu-MSFT commented

Hi @Hazi-9775 ,

AFAIK, there’s no such option to customize or redirect Access Denied page in SharePoint Online.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Hazi-9775 ,

Is there any update on this thread?

0 Votes 0 ·

@Hazi-9775 ,

Please feel free to let me know if you still need any help.

0 Votes 0 ·