Skip to content

Commit 7f3afc9

Browse files
authored
Merge pull request #1045 from dangshubham/patch-1
Update Connect-SPOService.md
2 parents b1f56ef + 53d665a commit 7f3afc9

File tree

1 file changed

+133
-4
lines changed

1 file changed

+133
-4
lines changed

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

Lines changed: 133 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run.
1919

2020
## SYNTAX
2121

22+
### AuthenticationCertificate
23+
24+
```
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>]
29+
```
30+
2231
### AuthenticationLocation
2332

2433
```
@@ -120,6 +129,108 @@ Accept pipeline input: False
120129
Accept wildcard characters: False
121130
```
122131
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+
144+
### -Certificate
145+
146+
> Applicable: SharePoint Online
147+
148+
An X.509 certificate used during authentication.
149+
150+
```yaml
151+
Type: X509Certificate2
152+
Parameter Sets: AuthenticationCertificate
153+
Aliases:
154+
155+
Required: False
156+
Position: Named
157+
Default value: None
158+
Accept pipeline input: False
159+
Accept wildcard characters: False
160+
```
161+
162+
### -CertificatePassword
163+
164+
> Applicable: SharePoint Online
165+
166+
The password for the certificate file.
167+
168+
```yaml
169+
Type: SecureString
170+
Parameter Sets: AuthenticationCertificate
171+
Aliases:
172+
173+
Required: False
174+
Position: Named
175+
Default value: None
176+
Accept pipeline input: False
177+
Accept wildcard characters: False
178+
```
179+
180+
### -CertificatePath
181+
182+
> Applicable: SharePoint Online
183+
184+
The path to the local .pfx certificate file.
185+
186+
```yaml
187+
Type: String
188+
Parameter Sets: AuthenticationCertificate
189+
Aliases:
190+
191+
Required: False
192+
Position: Named
193+
Default value: None
194+
Accept pipeline input: False
195+
Accept wildcard characters: False
196+
```
197+
198+
### -CertificateThumbprint
199+
200+
> Applicable: SharePoint Online
201+
202+
The thumbprint of the certificate in the current user's certificate store.
203+
204+
```yaml
205+
Type: String
206+
Parameter Sets: AuthenticationCertificate
207+
Aliases:
208+
209+
Required: False
210+
Position: Named
211+
Default value: None
212+
Accept pipeline input: False
213+
Accept wildcard characters: False
214+
```
215+
216+
### -ClientId
217+
218+
> Applicable: SharePoint Online
219+
220+
The application's client ID.
221+
222+
```yaml
223+
Type: String
224+
Parameter Sets: AuthenticationCertificate
225+
Aliases: ApplicationId
226+
227+
Required: True
228+
Position: Named
229+
Default value: None
230+
Accept pipeline input: False
231+
Accept wildcard characters: False
232+
```
233+
123234
### -ClientTag
124235
125236
> Applicable: SharePoint Online
@@ -146,7 +257,7 @@ Specifies the credentials to use to connect. If no credentials are presented, a
146257
147258
```yaml
148259
Type: Microsoft.Online.SharePoint.PowerShell.CredentialCmdletPipeBind
149-
Parameter Sets: (All)
260+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
150261
Aliases:
151262

152263
Required: False
@@ -166,7 +277,7 @@ To use it you also need to provide the **AuthenticationUrl** parameter.
166277
167278
```yaml
168279
Type: System.Boolean
169-
Parameter Sets: (All)
280+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
170281
Aliases:
171282

172283
Required: False
@@ -188,7 +299,7 @@ The default value is "default".
188299
189300
```yaml
190301
Type: Microsoft.Online.SharePoint.PowerShell.AADCrossTenantAuthenticationLocation
191-
Parameter Sets: AuthenticationLocation
302+
Parameter Sets: AuthenticationLocation, AuthenticationCertificate
192303
Aliases:
193304

194305
Required: False
@@ -198,6 +309,24 @@ Accept pipeline input: False
198309
Accept wildcard characters: False
199310
```
200311
312+
### -TenantId
313+
314+
> Applicable: SharePoint Online
315+
316+
The tenant ID to connect to.
317+
318+
```yaml
319+
Type: String
320+
Parameter Sets: AuthenticationCertificate
321+
Aliases:
322+
323+
Required: True
324+
Position: Named
325+
Default value: None
326+
Accept pipeline input: False
327+
Accept wildcard characters: False
328+
```
329+
201330
### -Url
202331
203332
> Applicable: SharePoint Online
@@ -232,7 +361,7 @@ Used to authenticate the user using the Microsoft Authentication Library (MSAL).
232361

233362
```yaml
234363
Type: System.Boolean
235-
Parameter Sets: (All)
364+
Parameter Sets: AuthenticationUrl, AuthenticationLocation
236365
Aliases:
237366
238367
Required: False

0 commit comments

Comments
 (0)