Forum Discussion
Robbert van Andel
Dec 05, 2017Brass Contributor
connect-pnpmicrosoftgraph Has Been Deprecated
I have a script that creates an Office 365 group and the associated SharePoint site using PnP PowerShell. I recently updated the SharePointPnPPowerShell assemblies to version 2.20.1711.0. Now I'm g...
- Dec 13, 2017
So - after downloading the latest version of Sharepoint PNP for Online it works as expected!
Jonas Pettersson
Dec 13, 2017Copper Contributor
So - after downloading the latest version of Sharepoint PNP for Online it works as expected!
Robbert van Andel
Dec 13, 2017Brass Contributor
I updated mine just now as well. Still no luck. I'm getting the same error. I wonder what you're doing differently than me.
- Robbert van AndelDec 13, 2017Brass Contributor
Although I am getting this error when I update the module
PackageManagement\Install-Package : Authenticode issuer 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the new module 'SharePointPnPPowerShellOnline' with version '2.21.1712.2' is not matching with the authenticode issuer 'CN=thawte Primary Root CA, OU="(c) 2006 thawte, Inc. - For authorized use only", OU=Certification Services Division, O="thawte, Inc.", C=US' of the previously-installed module 'SharePointPnPPowerShellOnline' with version '2.20.1711.0'. If you still want to install or update, use -SkipPublisherCheck parameter. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:2089 char:20 + ... $sid = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception + FullyQualifiedErrorId : AuthenticodeIssuerMismatch,Validate-ModuleAuthenticodeSignature,Microsoft.PowerShell.Pac kageManagement.Cmdlets.InstallPackageAfter I ran Update-Module SharePointPnPPowerShell* and got the above error, the version numbers did increase to the current version, but I'm not sure if everything installed correctly.
- Robbert van AndelDec 13, 2017Brass Contributor
Ha! Got it. I just ran an install of the code rather than an update
install-Module SharePointPnPPowerShellOnline -force -SkipPublisherCheck