Home

PnP PowerShell2016 and ExecuteQueryRetry ERROR

Highlighted
Joseph Ackerman
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
Cost estimator for small scale catering
Louisa Dira  in  Excel  on
12 Replies
AAD PowerShell Commands not working (get-msol ...)
Ivan Unger  in  Azure Active Directory  on
14 Replies
OCM encountered an error. Won't start.
Brett Stacey  in  Outlook Customer Manager  on
2 Replies
SPFx and SQL in Azure
Pieter Veenstra  in  SharePoint Developer  on
3 Replies
PowerBI Web Part
Scott Mckenzie  in  SharePoint BI  on
7 Replies