通过Sharepoint Online Office 365中的Powershell脚本进行WSP部署 [英] WSP deployment through powershell script in Sharepoint Online Office 365

查看:96
本文介绍了通过Sharepoint Online Office 365中的Powershell脚本进行WSP部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我试图在共享点在线Office 365上部署wsp.借助下面给出的url的帮助

I tried to deploy wsp on sharepoint online office 365.With help of below given url

https://www.c-sharpcorner.com/blogs/activate-sandbox-solution-with-powershell-in-office-365

https://www.c-sharpcorner.com/blogs/activate-sandbox-solution-with-powershell-in-office-365

但我仍然面临问题

PS C:\>导入模块"C:Contoso.Solution.Cmdlets.dll"
警告:从模块"Contoso.Solution.Cmdlet"导入的某些命令的名称包括未经批准的动词,这些动词可能会很重要
使它们难以被发现.要查找带有未经批准的动词的命令,请再次使用详细"命令运行Import-Module命令
仪表.有关批准的动词的列表,请键入Get-Verb.
PS C:\> Import-Module "C:Contoso.Solution.Cmdlets.dll"
WARNING: The names of some imported commands from the module 'Contoso.Solution.Cmdlets' include unapproved verbs that might ma
ke them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose pa
rameter. For a list of approved verbs, type Get-Verb.

推荐答案

不支持SharePoint Online中的沙盒解决方案,请参见此处:https://dev.office.com/blogs/removing-code-based-sandbox-solutions-in-sharepoint-online 

Sandbox solution in SharePoint online is not supported , see here : https://dev.office.com/blogs/removing-code-based-sandbox-solutions-in-sharepoint-online 

或者,您可以使用SharePoint加载项(https://docs.microsoft.com/zh-cn/sharepoint/dev/sp-add-ins/sharepoint-add-ins)或SharePoint框架(https: //docs.microsoft.com/zh-cn/sharepoint/dev/spfx/sharepoint-framework-overview).

As alternative, you can use SharePoint Add-Ins (https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-add-ins) or SharePoint Framework (https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview).


这篇关于通过Sharepoint Online Office 365中的Powershell脚本进行WSP部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆