Is there a way to customize the "access denied" page that users get when trying to access a page they are not allowed to access?

I need this page to have the same look and feel of the site rather than switch to default SharePoint UI.

1 Answer 1


That page: AccessDenied.aspx uses a master page called simple.master and not a default.master located on master page gallery on each site. So you should start from there.


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.