Dec 12 2017 06:11 AM
I have been using this cmdlet for a few weeks and it worked fine. I updated the SharePointPnPPowerShellOnline module to 2.21.1712.1 and now I'm getting the following error.
Can anyone tell me how to fix this?
New-PnPSite : Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=5.1.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
At line:1 char:1
+ New-PnPSite -Type TeamSite -Title aco-bcp -Alias aco-bcp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [New-PnPSite], FileNotFoundException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.NewSite
Dec 12 2017 06:27 AM
Dec 12 2017 07:26 AM
Aug 07 2018 05:33 PM
Same error same call for 3.0.1808.0. I had to roll back and it worked.
Aug 08 2018 01:43 AM
We found the issue and we're currently working on a 3.0.1808.1 release.
Aug 08 2018 02:39 AM
We release 3.0.1808.1 now which fixes the issue. Please try again with the latest version.