Cannot connect to the sharepoint server 2019 site with Connect-PnPOnline #4001
Unanswered
jpmvasquez
asked this question in
Q&A
Replies: 1 comment
-
PnP.PowerShell only works against online I think. You should use the older version |
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.
-
Hi,
I'm working with SharePoint Server 2019 and want to use the PnP.Powershell cmdlets for classic to modern pages modernization purpose.
I use the PnP.PowerShell version 2.4.0 and I have powershell 7
I use this command to connect to my site :
Connect-PnPOnline -Url "https://..../sites/..." -TransformationOnPrem -CurrentCredentials -ReturnConnection -Verbose
-ValidateConnection
Executing this command gives me a 403 FORBIDDEN.
Note that I execute this command directly in the frontal server of the sharepoint
Can someone please give me some guidance on how I can connect to this SP 2019 on-premise ?
Thanks,
Regards
Beta Was this translation helpful? Give feedback.
All reactions