I’m delighted to presenting at the next UK Community Day on the 23rd March. Do you want to come and join us with a great set of speakers including Steve Smith, Neil Hodgkinson, Penny Coventry, Heath Groves and Brett Lonsdale? If you do come and register now on the site and we hope to see you there as we take SharePoint to the Battle Royal – SharePoint vs SharePoint Online!
SharePoint Community Day
Come and join us at our SharePoint Community Day taking place on the 23rd March, where our range of speakers pitch SharePoint On-Premises against SharePoint Online and cover all the bits in between.
This exclusive day will de-mystify a lot of the mis-understanding between SharePoint On-Premises and SharePoint Online and what options are available depending on what direction your business is heading.
The Community Days are delivered by speakers that are renowned industry experts and MVP’s.
In recent days Microsoft have released a Visual Studio solution which allows you to control SharePoint Online sandbox solutions.
The solutions builds a DLL file which can be imported as a PowerShell module and then you can use it to Upload, Activate, Deactivate and Delete solutions from a SharePoint Online site collection.
The provided documentation is great however during my own testing I found that solutions were not getting deactivated in my SharePoint Online 2010 site collections.
You will most likely find your 2010 site collection is actually in SharePoint 2013 version (15.0+) however if you use the -environment “MSO_2010” presents an error. If you change this to -environment “MSO_2013” you will find it works even though you site collection appears to be in 2010.
Click here to download the solution from the Microsoft code website. You will have to Build the solution to get the DLL as the one from the download does not work. Alternatively you can download it from here.
upload-solution -username “email@example.com” -password “XXXX” -siteurl “https://xyz.sharepoint.com” -solutionfilepath “C:\Example.wsp” -environment MSO_2013
activate-solution -username “firstname.lastname@example.org” -password “xxxx” -siteurl “https://xyz.sharepoint.com” -solutionid “5BC8D9A8-AE5A-4CF8-8D25-03B239818193” -environment MSO_2013
deactivate-solution -username “email@example.com” -password “xxxx” -siteurl “https://xyz.sharepoint.com” -solutionid “5BC8D9A8-AE5A-4CF8-8D25-03B239818193” -environment MSO_2013
delete-solution -username “firstname.lastname@example.org” -password “xxxx” -siteurl “https://xyz.sharepoint.com” -solutionid “5BC8D9A8-AE5A-4CF8-8D25-03B239818193” -environment MSO_2013