From 4f684d2c46c314152fc285435fe44c600606a801 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Fri, 3 Oct 2025 22:26:53 +0530 Subject: [PATCH 1/4] Update Connect-SPOService.md --- .../Connect-SPOService.md | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 0e79a6994..b040e68fc 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -19,6 +19,16 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run. ## SYNTAX +### AuthenticationCertificate + +``` +Connect-SPOService -Url [-Credential ] [-ClientTag ] + [-Region ] [-AuthenticationUrl ] [-ModernAuth ] + [-UseSystemBrowser ] [-Certificate ] [-CertificatePath ] + [-CertificateThumbprint ] [-CertificatePassword ] -ClientId -TenantId + [] +``` + ### AuthenticationLocation ``` @@ -120,6 +130,96 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Certificate + +> Applicable: SharePoint Online + +An X.509 certificate supplied during invocation. + +```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 of your 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 of your 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 your certificate. The certificate will be retrieved from 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 client id of your application. + +```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 @@ -198,6 +298,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -TenantId + +> Applicable: SharePoint Online + +The id of the tenant to connect to. You can also use this parameter to specify your sign-in audience. + +```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 From d14116e5260759e0428276009b93cbe7bc17a3a4 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Mon, 6 Oct 2025 15:07:58 +0530 Subject: [PATCH 2/4] Update Connect-SPOService.md --- .../Connect-SPOService.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index b040e68fc..003e8717b 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -22,10 +22,7 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run. ### AuthenticationCertificate ``` -Connect-SPOService -Url [-Credential ] [-ClientTag ] - [-Region ] [-AuthenticationUrl ] [-ModernAuth ] - [-UseSystemBrowser ] [-Certificate ] [-CertificatePath ] - [-CertificateThumbprint ] [-CertificatePassword ] -ClientId -TenantId +Connect-SPOService -Url [-ClientTag ] [-Region ] [-AuthenticationUrl ] [-Certificate ] [-CertificatePath ] [-CertificateThumbprint ] [-CertificatePassword ] -ClientId -TenantId [] ``` @@ -134,7 +131,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -An X.509 certificate supplied during invocation. +An X.509 certificate used during authentication. ```yaml Type: X509Certificate2 @@ -152,7 +149,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The password of your certificate file. +The password for the certificate file. ```yaml Type: SecureString @@ -170,7 +167,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The path of your local pfx certificate file. +The path to the local .pfx certificate file. ```yaml Type: String @@ -188,7 +185,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The thumbprint of your certificate. The certificate will be retrieved from the current user's certificate store. +The thumbprint of the certificate in the current user’s certificate store. ```yaml Type: String @@ -206,7 +203,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The client id of your application. +The application’s client ID. ```yaml Type: String @@ -302,7 +299,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The id of the tenant to connect to. You can also use this parameter to specify your sign-in audience. +The tenant ID to connect to. ```yaml Type: String From 611328c3989d23105e46aa9ff39fc6dfabeeefd5 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Tue, 7 Oct 2025 15:00:52 +0530 Subject: [PATCH 3/4] Update Connect-SPOService.md --- .../Connect-SPOService.md | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 003e8717b..16e120e06 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -22,8 +22,10 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run. ### AuthenticationCertificate ``` -Connect-SPOService -Url [-ClientTag ] [-Region ] [-AuthenticationUrl ] [-Certificate ] [-CertificatePath ] [-CertificateThumbprint ] [-CertificatePassword ] -ClientId -TenantId - [] +Connect-SPOService -Url [-ClientTag ] + [-Region ] [-AuthenticationUrl ] + [-Certificate ] [-CertificatePath ] [-CertificateThumbprint ] + [-CertificatePassword ] -ClientId -TenantId [] ``` ### AuthenticationLocation @@ -127,6 +129,18 @@ 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 @@ -243,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 @@ -263,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 @@ -285,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 @@ -347,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 From b0782358dec17295d0a702bec4b163f8c145fb81 Mon Sep 17 00:00:00 2001 From: dangshubham Date: Thu, 9 Oct 2025 12:50:24 +0530 Subject: [PATCH 4/4] Update Connect-SPOService.md --- .../Connect-SPOService.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md index 16e120e06..2bf819d0e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md @@ -199,7 +199,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The thumbprint of the certificate in the current user’s certificate store. +The thumbprint of the certificate in the current user's certificate store. ```yaml Type: String @@ -217,7 +217,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -The application’s client ID. +The application's client ID. ```yaml Type: String