Skip to content

Commit bf7365f

Browse files
authored
Update Connect-SPOService.md
1 parent 405b2dd commit bf7365f

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ online version: https://learn.microsoft.com/powershell/module/sharepoint-online/
55
applicable: SharePoint Online
66
title: Connect-SPOService
77
schema: 2.0.0
8-
author: trent-green
9-
ms.author: trgreen
8+
author: ShreyasS26
9+
ms.author: shsaravanan
1010
ms.reviewer:
1111
---
1212

@@ -23,19 +23,19 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run.
2323

2424
```powershell
2525
Connect-SPOService -AuthenticationUrl <String> [-ClientTag <String>] [-Credential <CredentialCmdletPipeBind>]
26-
-Url <UrlCmdletPipeBind> -ModernAuth <Boolean> [<CommonParameters>]
26+
-Url <UrlCmdletPipeBind> -ModernAuth <Boolean> [<CommonParameters>] -UseSystemBrowser <Boolean>
2727
```
2828

2929
### AuthenticationLocation
3030

3131
```powershell
3232
Connect-SPOService [-ClientTag <String>] [-Credential <CredentialCmdletPipeBind>]
33-
[-Region <AADCrossTenantAuthenticationLocation>] -Url <UrlCmdletPipeBind> [<CommonParameters>]
33+
[-Region <AADCrossTenantAuthenticationLocation>] -Url <UrlCmdletPipeBind> [<CommonParameters>] -UseSystemBrowser <Boolean>
3434
```
3535

3636
## DESCRIPTION
3737

38-
The `Connect-SPOService` cmdlet connects a SharePoint Online administrator to the SharePoint Online Administration Center.
38+
The `Connect-SPOService` cmdlet connects the SharePoint Online administrator or the SharePoint Embedded administrator to the SharePoint Online Administration Center.
3939

4040
Only a single SharePoint Online service connection is maintained from any single Windows PowerShell session.
4141
In other words, this is a per-geo within an organization administrator connection.
@@ -44,7 +44,7 @@ The Windows PowerShell session will be set to serve the new SharePoint Online ad
4444

4545
A delegated partner administrator has to swap connections for different organizations within the same Windows PowerShell session.
4646

47-
You must be a SharePoint Online administrator to run the cmdlet.
47+
You must be a SharePoint Online administrator or a SharePoint Embedded administrator to run the cmdlet.
4848

4949
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
5050

@@ -92,6 +92,13 @@ Connect-SPOService -Credential $creds -Url https://tenant-admin.sharepoint.com -
9292
```
9393
Connecting to SPO Service with ModernAuth Flag.
9494

95+
### -----------------------EXAMPLE 6-----------------------------
96+
97+
```powershell
98+
Connect-SPOService -Url https://contoso-admin.sharepoint.com -UseSystemBrowser $true
99+
```
100+
Authenticates using the Microsoft Authentication Library (MAAL) and connects to the SharePoint Online Administration Center on successful authentication.
101+
95102
## PARAMETERS
96103

97104
### -AuthenticationUrl
@@ -189,6 +196,21 @@ Accept wildcard characters: False
189196
190197
To use it you also need to provide the **AuthenticationUrl** parameter.
191198
199+
```yaml
200+
Type: Boolean
201+
Parameter Sets: (All)
202+
Aliases:
203+
Applicable: SharePoint Online
204+
Required: False
205+
Position: Named
206+
Default value: False
207+
Accept pipeline input: False
208+
Accept wildcard characters: False
209+
```
210+
### -UseSystemBrowser
211+
212+
Used to authenticate the user using the Microsoft Authentication Library (MSAL).
213+
192214
```yaml
193215
Type: Boolean
194216
Parameter Sets: (All)

0 commit comments

Comments
 (0)