Skip to content
Merged
Changes from 1 commit
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 @@ -109,6 +109,29 @@ Connect-SPOService -Url https://contoso-admin.sharepoint.com -UseSystemBrowser $
```
Authenticates using the Microsoft Authentication Library (MSAL) and connects to the SharePoint Online Administration Center on successful authentication.

### EXAMPLE 7

```powershell
$password = ConvertTo-SecureString -String "password" -Force -AsPlainText
Comment thread
dangshubham marked this conversation as resolved.
Outdated
Connect-SPOService -Url https://contoso-admin.sharepoint.com -ClientId <your_client_id> -Tenant <your_tenant_id> -CertificatePath <C:\certificates\sample-cert.pfx> -CertificatePassword $password
Comment thread
dangshubham marked this conversation as resolved.
Outdated
Comment thread
dangshubham marked this conversation as resolved.
Outdated
```
Connect to the SharePoint Online service using an app identity and a certificate file path, with an optional password
Comment thread
dangshubham marked this conversation as resolved.
Outdated

### EXAMPLE 8

```powershell
Connect-SPOService -Url https://contoso-admin.sharepoint.com -ClientId <your_client_id> -Tenant <your_tenant_id> -CertificateThumbprint "<your_certificate_thumbprint>"
Comment thread
dangshubham marked this conversation as resolved.
Outdated
```
Connect to the SharePoint Online service using an app identity and a certificate thumbprint

### EXAMPLE 9

```powershell
$cert = Get-ChildItem Cert:\LocalMachine\My$CertThumbprint
Comment thread
dangshubham marked this conversation as resolved.
Outdated
Connect-SPOService -Url https://contoso-admin.sharepoint.com -ClientId <your_client_id> -Tenant <your_tenant_id> -Certificate $cert
```
Connect to the SharePoint Online service using an app identity and a certificate object

## PARAMETERS

### -AuthenticationUrl
Expand Down