Pnp PowerShell Get-PnpFolder/Rename-PnpFolder gives error on Method "GetFolderByServerRelativePath"

Copper Contributor

I'm using Pnp PowerShell against a SharePoint 2013 server on-prem and whenever I try to use Get-PnpFolder or Rename-PnpFolder, they both give the error:

 

Method "GetFolderByServerRelativePath" does not exist

 

I've tried using it on both my workstation (Windows 10) and on one of the SharePoint 2013 Server web front ends. Both get the same error.  All the other cmdlets I have used work just fine.

 

It is connecting to the site because I can use the cmdlets to access lists for example.

 

0 Replies