Skip to content

Enhancement: Use -UseSystemBrowser for SharePoint Online interactive authentication in Connect-ZtAssessment #1193

@praneeth-0000

Description

@praneeth-0000

Connect-ZtAssessment calls Connect-SPOService -Url $adminUrl and Connect-SPOService defaults to legacy authentication. The -UseSystemBrowser $true parameter switches the module to use MSAL and opens the system browser for sign-in, which supports the full Entra authentication experience including phishing-resistant methods.

Relevant links

  1. https://learn.microsoft.com/en-us/powershell/module/microsoft.online.sharepoint.powershell/connect-sposervice?view=sharepoint-ps
  2. https://learn.microsoft.com/en-us/troubleshoot/sharepoint/administration/connect-sposervice-error

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions