Forum Discussion
Joseph Ackerman
Mar 20, 2017Iron Contributor
PnP PowerShell2016 and ExecuteQueryRetry ERROR
When I try to connect to my on premises SharePoint site using Connect-PnPOnline, I get an error from the CSOM:
Connect-PnPOnline : Method not found: 'Void Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(Microsoft.SharePoint.Client.ClientRuntimeContext, Int32, Int32)'.
I have triple-checked that the 2013 and Online versions of the PnP PS Modules are not loaded. Is the 2016 version of the PnP PS Module really trying to call a function in the CSOM that is not there? This issue is preventing me from doing some critical path deployment work, so any response would be welcome at this point.
Erwin? Or anyone? My thanks in advance...
- Ivan VaguninBrass ContributorHi,
ExecuteQueryRetry is an extension method from OfficeDevPnP.Core.dl, so check that correct version of the library is loaded to PowerShell.
Br, Ivan