Skip to content

Commit 611328c

Browse files
authored
Update Connect-SPOService.md
1 parent d14116e commit 611328c

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run.
2222
### AuthenticationCertificate
2323

2424
```
25-
Connect-SPOService -Url <UrlCmdletPipeBind> [-ClientTag <String>] [-Region <AADCrossTenantAuthenticationLocation>] [-AuthenticationUrl <String>] [-Certificate <X509Certificate2>] [-CertificatePath <String>] [-CertificateThumbprint <String>] [-CertificatePassword <SecureString>] -ClientId <String> -TenantId <String>
26-
[<CommonParameters>]
25+
Connect-SPOService -Url <UrlCmdletPipeBind> [-ClientTag <String>]
26+
[-Region <AADCrossTenantAuthenticationLocation>] [-AuthenticationUrl <String>]
27+
[-Certificate <X509Certificate2>] [-CertificatePath <String>] [-CertificateThumbprint <String>]
28+
[-CertificatePassword <SecureString>] -ClientId <String> -TenantId <String> [<CommonParameters>]
2729
```
2830

2931
### AuthenticationLocation
@@ -127,6 +129,18 @@ Accept pipeline input: False
127129
Accept wildcard characters: False
128130
```
129131
132+
```yaml
133+
Type: String
134+
Parameter Sets: AuthenticationCertificate
135+
Aliases:
136+
137+
Required: False
138+
Position: Named
139+
Default value: None
140+
Accept pipeline input: False
141+
Accept wildcard characters: False
142+
```
143+
130144
### -Certificate
131145
132146
> Applicable: SharePoint Online
@@ -243,7 +257,7 @@ Specifies the credentials to use to connect. If no credentials are presented, a
243257
244258
```yaml
245259
Type: Microsoft.Online.SharePoint.PowerShell.CredentialCmdletPipeBind
246-
Parameter Sets: (All)
260+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
247261
Aliases:
248262

249263
Required: False
@@ -263,7 +277,7 @@ To use it you also need to provide the **AuthenticationUrl** parameter.
263277
264278
```yaml
265279
Type: System.Boolean
266-
Parameter Sets: (All)
280+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
267281
Aliases:
268282

269283
Required: False
@@ -285,7 +299,7 @@ The default value is "default".
285299
286300
```yaml
287301
Type: Microsoft.Online.SharePoint.PowerShell.AADCrossTenantAuthenticationLocation
288-
Parameter Sets: AuthenticationLocation
302+
Parameter Sets: AuthenticationLocation, AuthenticationCertificate
289303
Aliases:
290304

291305
Required: False
@@ -347,7 +361,7 @@ Used to authenticate the user using the Microsoft Authentication Library (MSAL).
347361

348362
```yaml
349363
Type: System.Boolean
350-
Parameter Sets: (All)
364+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
351365
Aliases:
352366
353367
Required: False

0 commit comments

Comments
 (0)