I need automate deployment of apps from repository to SharePoint Online(Office 365). Is there any scripts for PowerShell or another way for automate deployment of Apps?
-
The new versions of CSOM allow for this. Don't know the specifics, but it is possible. – wjervis May 8 '15 at 17:05
-
1I think i found some solution for my questions. I hope it will be useful for others sharepointnutsandbolts.com/2013/12/… – Anna Komissar May 12 '15 at 12:00
It's achievable through PnP PowerShell CmdLets, you need to install the msi before using it.
SPOAppPackage -Path c:\files\demo.app -Force
Refer to other switch parameters for more options.
-
pnp is quite good, and if it's provider hosted app, you also need to look into Azure PowerShell for the app provision. – Shawn Apr 27 '16 at 1:58
Posting the answer from comment
Here's a blog that explains how to use CSOM in powershell scripts with O365.