Home

PnP PowerShell2016 and ExecuteQueryRetry ERROR

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

1 Reply

Re: PnP PowerShell2016 and ExecuteQueryRetry ERROR

Hi,

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

Br, Ivan
Related Conversations
OCM encountered an error. Won't start.
Brett Stacey  in  Outlook Customer Manager  on
2 Replies
AAD PowerShell Commands not working (get-msol ...)
Ivan Unger  in  Azure Active Directory  on
14 Replies
PowerBI Web Part
Scott Mckenzie  in  SharePoint BI  on
6 Replies
apply pnp template on sub site
Jess Lassen  in  SharePoint Developer  on
15 Replies
Change Color
Jonathan Blommers  in  Excel  on
23 Replies