Forum Discussion
Connect-PnPOnline problem after installing PnP.Powershell
farismalaeb Thanks Faris. I'm a big fan of the -examples tag 🙂
In this case it looks like the module I had installed first (SharePointPnPPowerShell) has been superceded by an updated module (PnP.Powershell). I've uninstalled the earlier module, and now in the new module (PnP.Powershell) I no longer see a -scopes option. So I am working on the assumption that the video I watched (and referenced in my first post) was using an earlier version of PnP.Powershell that still had a -scopes option. But that may be wrong!
It's totally possible, Check this one
https://www.powershellgallery.com/packages?q=PnP.PowerShell
This link is for the PSGallary which includes all the previous versions of PnP.Powershell, you can try the old version, which is not a recommended thing to do.
I guess you need to tune the connection to be able to connect using the available parameters.
-------------
If the answer was helpful, Please click on Best Response.