SharePoint Online - 如何激活 SharePoint Designer 2013

SharePoint Online - How to activate SharePoint Designer 2013

当使用 SPD2013 连接到 SharePoint online 时,我收到一条消息:

You do not have permission to open this web site in SharePoint Designer

我使用顶级管理员帐户登录到 Office 365 SharePoint Online 管理中心。我注意到没有选项,例如 Enable SharePoint DesignerCustom Script 选项。

我尝试从 PS 激活,但连接 return 一条消息 当前站点不是租户管理站点。

Connect-SPOService -Url https://mydomain.sharepoint.com/sites/mydev101 -credential developer@domain.com

  1. 确保用户对目标网站集或网站具有设计者、所有者或管理员权限。

  2. 使用 Connect-SPOService 命令激活时,管理中心 url 是这样的:

    https://Tenantname-admin.sharepoint.com

     $AdminSiteURL="https://Crescent-Admin.sharepoint.com"
     $SiteURL="https://crescent.sharepoint.com/sites/creditpipeline"
    
     #Connect to SharePoint Online Admin Center
     Connect-SPOService -Url $AdminSiteURL -Credential (Get-Credential)
    
     #Enable SharePoint Designer for the site collection
     Set-SPOSite -Identity $SiteURL -DenyAddAndCustomizePages $False
    

参考:

SharePoint Online: Enable SharePoint Designer using PowerShell

除站点权限外,请确保安装 SharePoint Designer SP1 以访问 SharePoint online。