pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

Change Connect-PnPOnline to use Modern Auth by Default #2221

Open ghost opened 4 years ago

ghost commented 4 years ago

Reporting an Issue or Missing Feature

Modern authentication has been the default authentication experience with SharePoint Online for 2 or more years now and MFA requires the use of modern auth. Currently modern auth is enabled via the -SPOManagementShell switch.

I would propose that Connect-PnPOnline use Modern Auth by default to reduce user friction and confusion.

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

3.12.1908.1

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.