Forum Discussion
Deleted
Dec 04, 2016Error when using PnP powershell and CSOM
Hi, I am trying out the "O365 Intranet starter" from PnP. Almost everything is working just fine, but i have some issues. This function expects a Web object (Get-PnPWeb is the same as the "o...
Dec 05, 2016
Initially this feels like a conflict between the various versions of the CSOM sdk. The PnP Cmdlets come with the CSOM SDK included, so you don't have to install that SDK. The downloadable SDK is most likely also older than the one that comes with the PnP Cmdlets (the PnP cmdlets are always using the latest SDK, usually before the downloadable package is updated by MS). My initial try would be to uninstall the SDK (which installs the SDK into the GAC, which is generally a 'bad' thing).
Shubhanshu Rajoriya
Apr 03, 2019Former Employee
Erwin van Hunen I uninstalled SPO Client Component SDK but still getting the same error.