Posted on August 24th, 2014
In this post you will learn how to upload wsp in office 365 using Powershell + CSOM capabilities.
I have created a folder called scripts and placed the required SharePoint client dlls.
Below are the list of dlls i need for execution of script.
I created an xml file where i can specify the site collection url and wsp names. You can see the structure below. You can add the wsp files you want or remove while running the script.
For solutions i created a folder and placed inside that. You can see the below figure of my folder structure.
To upload the WSP to Solution gallery i am using FileCreationInformation class.
In this post we have seen how to upload wsp solutions in office 365 using Powershell and CSOM.
Devendra Velegandla is a four-time recipient of Microsoft's Most Valuable Professional (MVP) award (2014-2017) for Office Servers and Services MVP and SharePoint Server. He received the MCC award for his contributions in Microsoft MSDN/TechNet forums. He loves sharing articles, videos, and tutorial on SharePoint and Office 365.