Forum Discussion
connect-pnpmicrosoftgraph Has Been Deprecated
- Dec 13, 2017
So - after downloading the latest version of Sharepoint PNP for Online it works as expected!
Did you find a solution for this? I am seeing the exact same thing when I change my working config using Connect-PnPMicrosoftGraph to "Connect-PnPOnline -AppId '<id>' -AppSecret '<secret>' -AADDomain 'contoso.onmicrosoft.com'"...
- Jonas PetterssonDec 13, 2017Copper Contributor
So - after downloading the latest version of Sharepoint PNP for Online it works as expected!
- Robbert van AndelDec 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.