I want to add custom message on SharePoint online out of box Access Denied page (_layouts/15/AccessDenied.aspx).

Is it possible in any way ? If yes, please highlight.

Eg., like below custom text I want to add.

enter image description here

2 Answers 2


A very similar question has been answered recently (September 2022):

Custom Access Denied Page for Sharepoint Online


Agree with Callum Crowley, per my knowledge, there is no out of the box option to custom or redirect the Access Denied page in the SharePoint online.


Go to Site permissions -> Change how members can share -> Access requests -> Add a custom message to the request access page.

enter image description here


enter image description here

  • I have updated the answer, please check. Aug 30, 2023 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.