Replies: 1 comment
-
even after forcing the nightly version this cmdlet is still unavailable |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run this command once So I did the following:
Install-Module PnP.PowerShell -AllowPrerelease -RequiredVersion 2.0.50-nightly -Force -SkipPublisherCheck
then in the script
Import-Module PnP.PowerShell $appConn = Connect-PnPOnline -Url $appURL -ReturnConnection -ClientId $ClientId -Tenant $tenant -CertificatePath $certPath -CertificatePassword $certPass Get-PnPSensitivityLabel -Connection $appConn
and I get error: The term 'Get-PnPSensitivityLabel' is not recognized as a name of a cmdlet
Is there a way to force the PnP.PowerShell to be Version 2.0.50-nightly ?
Beta Was this translation helpful? Give feedback.
All reactions