Fix for “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive'” Error!

Problem: Getting “Connect-PnPOnline: A parameter cannot be found that matches parameter name ‘interactive'” error when tying to connect to SharePoint Online site from PnP PowerShell.

Solution:

If you get “Connect-PnPOnline : A parameter cannot be found that matches parameter name ‘Interactive’.”, that means you are not running the latest PnP PowerShell module. So, your options are, either Upgrade the PnP Classic PowerShell module to PnP.PowerShell or replace the “Interactive” switch with “UseWebLogin”.

Connect-PnPOnline "https://crescentintranet.sharepoint.com/sites/marketing" -UseWebLogin

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published.