Skip to content

Commit 4f684d2

Browse files
authored
Update Connect-SPOService.md
1 parent ef2d21f commit 4f684d2

1 file changed

Lines changed: 118 additions & 0 deletions

File tree

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

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ 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> [-Credential <CredentialCmdletPipeBind>] [-ClientTag <String>]
26+
[-Region <AADCrossTenantAuthenticationLocation>] [-AuthenticationUrl <String>] [-ModernAuth <Boolean>]
27+
[-UseSystemBrowser <Boolean>] [-Certificate <X509Certificate2>] [-CertificatePath <String>]
28+
[-CertificateThumbprint <String>] [-CertificatePassword <SecureString>] -ClientId <String> -TenantId <String>
29+
[<CommonParameters>]
30+
```
31+
2232
### AuthenticationLocation
2333

2434
```
@@ -120,6 +130,96 @@ Accept pipeline input: False
120130
Accept wildcard characters: False
121131
```
122132
133+
### -Certificate
134+
135+
> Applicable: SharePoint Online
136+
137+
An X.509 certificate supplied during invocation.
138+
139+
```yaml
140+
Type: X509Certificate2
141+
Parameter Sets: AuthenticationCertificate
142+
Aliases:
143+
144+
Required: False
145+
Position: Named
146+
Default value: None
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
151+
### -CertificatePassword
152+
153+
> Applicable: SharePoint Online
154+
155+
The password of your certificate file.
156+
157+
```yaml
158+
Type: SecureString
159+
Parameter Sets: AuthenticationCertificate
160+
Aliases:
161+
162+
Required: False
163+
Position: Named
164+
Default value: None
165+
Accept pipeline input: False
166+
Accept wildcard characters: False
167+
```
168+
169+
### -CertificatePath
170+
171+
> Applicable: SharePoint Online
172+
173+
The path of your local pfx certificate file.
174+
175+
```yaml
176+
Type: String
177+
Parameter Sets: AuthenticationCertificate
178+
Aliases:
179+
180+
Required: False
181+
Position: Named
182+
Default value: None
183+
Accept pipeline input: False
184+
Accept wildcard characters: False
185+
```
186+
187+
### -CertificateThumbprint
188+
189+
> Applicable: SharePoint Online
190+
191+
The thumbprint of your certificate. The certificate will be retrieved from the current user's certificate store.
192+
193+
```yaml
194+
Type: String
195+
Parameter Sets: AuthenticationCertificate
196+
Aliases:
197+
198+
Required: False
199+
Position: Named
200+
Default value: None
201+
Accept pipeline input: False
202+
Accept wildcard characters: False
203+
```
204+
205+
### -ClientId
206+
207+
> Applicable: SharePoint Online
208+
209+
The client id of your application.
210+
211+
```yaml
212+
Type: String
213+
Parameter Sets: AuthenticationCertificate
214+
Aliases: ApplicationId
215+
216+
Required: True
217+
Position: Named
218+
Default value: None
219+
Accept pipeline input: False
220+
Accept wildcard characters: False
221+
```
222+
123223
### -ClientTag
124224
125225
> Applicable: SharePoint Online
@@ -198,6 +298,24 @@ Accept pipeline input: False
198298
Accept wildcard characters: False
199299
```
200300
301+
### -TenantId
302+
303+
> Applicable: SharePoint Online
304+
305+
The id of the tenant to connect to. You can also use this parameter to specify your sign-in audience.
306+
307+
```yaml
308+
Type: String
309+
Parameter Sets: AuthenticationCertificate
310+
Aliases:
311+
312+
Required: True
313+
Position: Named
314+
Default value: None
315+
Accept pipeline input: False
316+
Accept wildcard characters: False
317+
```
318+
201319
### -Url
202320
203321
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)