📜  将列表另存为模板共享点在线现代网站 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:21.149000             🧑  作者: Mango

代码示例1
Import-Module Microsoft.Online.SharePoint.Powershell
$tenantName = "Yourtenantname"
$SiteURL ="https://$($tenantName).sharepoint.com/sites/TSInfoModernSite"
Connect-SPOService -Url "https://$($tenantName)-admin.sharepoint.com"
Set-SPOsite $SiteURL -DenyAddAndCustomizePages 0