我有一个租户范围的 SPFx 解决方案,该解决方案应用于 SharePoint Online 中的所有网站。
它部署了一个大型菜单和一些品牌。
我想为几个站点禁用/卸载该解决方案,但由于该解决方案是租户范围的,因此我不能简单地在这些站点上卸载。
请问你能帮忙吗? 谢谢。
您可以使用powershell命令Get-PnpCustomAction -Scope All
来检查解决方案。
然后使用命令Remove-PnPCustomAction -Identity <ID of the solution> -Scope web
从当前 Web 中删除自定义操作。
参考:
https://learn.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpcustomaction?view=sharepoint-ps
https://learn.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpcustomaction?view=sharepoint-ps