如何自定义访问被拒绝的页面 Sharepoint 2016

how to customize access denied page sharepoint 2016

我希望在 2016 年的 Sharepoint 中找到品牌 "access denied page" 的解决方案。

sharepoint 默认页面很简单,我想给这个页面做品牌,还有我公司的标志。

下面是sharepoint 2016默认页面的图片。

您可以使用 SharePoint power shell 控制台来设置它们。 设置 SPCustomLayoutsPage

示例

Set-SPCustomLayoutsPage -Identity AccessDenied -RelativePath "/_layouts/custompages/myaccessdenied.aspx" -WebApplication "http://server_name/mywebapp"

来源https://technet.microsoft.com/en-us/library/ff607768.aspx仍可在 Sharepoint 2016 中使用。