Microsoft Office Sharepoint

All my posts are provided "AS IS" with no warranties, and confer no rights.

The first steps

The very first steps to connect to Sharepoint Online with Powershell are: load the required dlls for your operation ( you will need at a minimum Microsoft.SharePoint.CLient.dll and Microsoft.SharePointClient.Runtime.dll) establish a client context to the site where you want to work Loading the dlls: if you installed Sharepoint Online Management Shell :   $programFiles =… Read more

Setting up PowerShell for SPO

The very first thing you want to do is to get the required SharepointClient dlls. You have the option of either getting them from the Sharepoint Online Management Shell install folder with the caveat that you will have a limited number of dlls to interact with Sharepoint. If you want to go for the dev… Read more

Starting a new chapter : CSOM PowerShell scripts

  Since a while now I am supporting Sharepoint Online, I gathered with the time a set of scripts that help in day to day troubleshooting, setting up repro sites, etc. I thought , putting them together for a quicker access is a good idea, so I am starting a new tag SPOScripts where you… Read more

Site Content and Structure is broken.. or is it ?

You may run occasionally into this, so I thought this post could save you some long troubleshooting steps. the scenario is simple: you want to visit the Content and Structure page and receive an unexpected error. Looking at the ULS Logs you see the following Exception: System.ArgumentException: Invalid value. The value cannot be an empty… Read more