Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run.

## SYNTAX

### AuthenticationCertificate

```
Connect-SPOService -Url <UrlCmdletPipeBind> [-ClientTag <String>]
[-Region <AADCrossTenantAuthenticationLocation>] [-AuthenticationUrl <String>]
[-Certificate <X509Certificate2>] [-CertificatePath <String>] [-CertificateThumbprint <String>]
[-CertificatePassword <SecureString>] -ClientId <String> -TenantId <String> [<CommonParameters>]
```

### AuthenticationLocation

```
Expand Down Expand Up @@ -120,6 +129,108 @@ Accept pipeline input: False
Accept wildcard characters: False
```

```yaml
Type: String
Parameter Sets: AuthenticationCertificate
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Certificate

> Applicable: SharePoint Online

An X.509 certificate used during authentication.

```yaml
Type: X509Certificate2
Parameter Sets: AuthenticationCertificate
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CertificatePassword

> Applicable: SharePoint Online

The password for the certificate file.

```yaml
Type: SecureString
Parameter Sets: AuthenticationCertificate
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CertificatePath

> Applicable: SharePoint Online

The path to the local .pfx certificate file.

```yaml
Type: String
Parameter Sets: AuthenticationCertificate
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CertificateThumbprint

> Applicable: SharePoint Online

The thumbprint of the certificate in the current user's certificate store.

```yaml
Type: String
Parameter Sets: AuthenticationCertificate
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientId

> Applicable: SharePoint Online

The application's client ID.

```yaml
Type: String
Parameter Sets: AuthenticationCertificate
Aliases: ApplicationId

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientTag

> Applicable: SharePoint Online
Expand All @@ -146,7 +257,7 @@ Specifies the credentials to use to connect. If no credentials are presented, a

```yaml
Type: Microsoft.Online.SharePoint.PowerShell.CredentialCmdletPipeBind
Parameter Sets: (All)
Parameter Sets: AuthenticationUrl, AuthenticationLocation
Aliases:

Required: False
Expand All @@ -166,7 +277,7 @@ To use it you also need to provide the **AuthenticationUrl** parameter.

```yaml
Type: System.Boolean
Parameter Sets: (All)
Parameter Sets: AuthenticationUrl, AuthenticationLocation
Aliases:

Required: False
Expand All @@ -188,7 +299,7 @@ The default value is "default".

```yaml
Type: Microsoft.Online.SharePoint.PowerShell.AADCrossTenantAuthenticationLocation
Parameter Sets: AuthenticationLocation
Parameter Sets: AuthenticationLocation, AuthenticationCertificate
Aliases:

Required: False
Expand All @@ -198,6 +309,24 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -TenantId

> Applicable: SharePoint Online

The tenant ID to connect to.

```yaml
Type: String
Parameter Sets: AuthenticationCertificate
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Url

> Applicable: SharePoint Online
Expand Down Expand Up @@ -232,7 +361,7 @@ Used to authenticate the user using the Microsoft Authentication Library (MSAL).

```yaml
Type: System.Boolean
Parameter Sets: (All)
Parameter Sets: AuthenticationUrl, AuthenticationLocation
Aliases:

Required: False
Expand Down