PnP PowerShell2016 and ExecuteQueryRetry ERROR

Iron Contributor

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...

1 Reply
Hi,

ExecuteQueryRetry is an extension method from OfficeDevPnP.Core.dl, so check that correct version of the library is loaded to PowerShell.

Br, Ivan