From 187fba8d7f4e16a350b224ba5ec0affbbe343db3 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Fri, 29 Aug 2025 16:24:05 +0530 Subject: [PATCH 1/5] Update Connect-SPOService.md --- .../Connect-SPOService.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 40662c91d..afb902c56 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -231,6 +231,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` +Instead of adding the -UseSystemBrowser parameter every time users run Connect-SPOService, this choice can be controlled by a registry key as well. This registry key (UseSystemBrowser of type REG_DWORD) will be located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS). + +If either registry key is set to a non-zero integer value OR UseSystemBrowser parameter is set to true, authentication flow will use system browser for sign-in. + + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters). From 7536475c585ae01407ac1d5a66dbaafd64db1a9d Mon Sep 17 00:00:00 2001 From: dangshubham Date: Mon, 1 Sep 2025 13:08:22 +0530 Subject: [PATCH 2/5] Update Connect-SPOService.md --- .../Connect-SPOService.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index afb902c56..2450a5bb7 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -230,11 +230,14 @@ Default value: None Accept pipeline input: False Accept wildcard characters: False ``` - -Instead of adding the -UseSystemBrowser parameter every time users run Connect-SPOService, this choice can be controlled by a registry key as well. This registry key (UseSystemBrowser of type REG_DWORD) will be located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS). - -If either registry key is set to a non-zero integer value OR UseSystemBrowser parameter is set to true, authentication flow will use system browser for sign-in. - +> [!NOTE] +> To avoid adding the `-UseSystemBrowser` parameter every time you run Connect-SPOService, +you can set a registry key instead. +> +> Set the UseSystemBrowser registery key (type `REG_DWORD`) at: +HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\ +> +> If either registry key is set to a non-zero integer value or -UseSystemBrowser parameter is set to `true`, authentication flow will use system browser for sign-in. ### CommonParameters From d7f72c9963d75e250bcc45f974fe17afda9b3ef5 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Mon, 1 Sep 2025 13:12:35 +0530 Subject: [PATCH 3/5] Update Connect-SPOService.md --- .../Connect-SPOService.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 2450a5bb7..86bdfa067 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -234,10 +234,10 @@ Accept wildcard characters: False > To avoid adding the `-UseSystemBrowser` parameter every time you run Connect-SPOService, you can set a registry key instead. > -> Set the UseSystemBrowser registery key (type `REG_DWORD`) at: -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\ +> Set the `UseSystemBrowser` registery key (type `REG_DWORD`) at: +`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\` > -> If either registry key is set to a non-zero integer value or -UseSystemBrowser parameter is set to `true`, authentication flow will use system browser for sign-in. +> If either registry key is set to a non-zero integer value or `-UseSystemBrowser` parameter is set to `true`, authentication flow will use system browser for sign-in. ### CommonParameters From d4eab592c713394dbe3ea36d09be7fde53f9979e Mon Sep 17 00:00:00 2001 From: dangshubham Date: Wed, 3 Sep 2025 15:18:03 +0530 Subject: [PATCH 4/5] Update Connect-SPOService.md --- .../Connect-SPOService.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 86bdfa067..f85ccb8fe 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -218,6 +218,14 @@ Accept wildcard characters: False > Applicable: SharePoint Online Used to authenticate the user using the Microsoft Authentication Library (MSAL). +> [!NOTE] +> To avoid adding the `-UseSystemBrowser` parameter every time you run Connect-SPOService, +you can set a registry key instead. +> +> Set the `UseSystemBrowser` registery key (type `REG_DWORD`) at: +`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\` +> +> If either registry key is set to a non-zero integer value or `-UseSystemBrowser` parameter is set to `true`, authentication flow will use system browser for sign-in. ```yaml Type: System.Boolean @@ -230,14 +238,6 @@ Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -> [!NOTE] -> To avoid adding the `-UseSystemBrowser` parameter every time you run Connect-SPOService, -you can set a registry key instead. -> -> Set the `UseSystemBrowser` registery key (type `REG_DWORD`) at: -`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\` -> -> If either registry key is set to a non-zero integer value or `-UseSystemBrowser` parameter is set to `true`, authentication flow will use system browser for sign-in. ### CommonParameters From 8cb2636298c1def9b37f30ee713e87929c2fbed8 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Wed, 3 Sep 2025 15:20:00 +0530 Subject: [PATCH 5/5] Update Connect-SPOService.md --- .../Connect-SPOService.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index f85ccb8fe..b04e7ba7b 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -219,8 +219,7 @@ Accept wildcard characters: False Used to authenticate the user using the Microsoft Authentication Library (MSAL). > [!NOTE] -> To avoid adding the `-UseSystemBrowser` parameter every time you run Connect-SPOService, -you can set a registry key instead. +> To avoid adding the `-UseSystemBrowser` parameter every time you run `Connect-SPOService`, you can set a registry key instead. > > Set the `UseSystemBrowser` registery key (type `REG_DWORD`) at: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\`