【问题标题】:Access required error while Saving SharePoint site as template将 SharePoint 网站另存为模板时访问所需的错误
【发布时间】:2021-06-29 07:46:06
【问题描述】:

我们得到了

“抱歉,您没有访问权限。”

在 Microsoft Office 365 中尝试将 SharePoint 网站另存为模板时出错。

我们尝试从文章中提到的 SharePoint Online 管理中心设置“允许用户在个人网站上运行自定义脚本”和“允许用户在自助创建的网站上运行自定义脚本”选项:https://www.sharepointdiary.com/2017/06/fix-sorry-you-dont-have-access-error-on-save-site-as-template.html

另外,我们现在等了超过 24 小时才生效。但我们仍然遇到同样的错误。

我们还有什么需要做的吗?

谢谢!

【问题讨论】:

    标签: sharepoint sharepoint-online


    【解决方案1】:

    您可以尝试运行 powershell 命令以允许在此站点上使用自定义脚本:

    Set-SPOSite https://tenant.sharepoint.com/sites/yoursite -DenyAddAndCustomizePages 0
    

    【讨论】:

    • 感谢您的帮助!运行上述脚本后,我们能够将站点保存为模板。我们认为从 SharePoint 管理中心设置选项会起作用。
    猜你喜欢
    • 1970-01-01
    • 2022-12-14
    • 1970-01-01
    • 1970-01-01
    • 2012-02-13
    • 1970-01-01
    • 2016-12-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多