Skip to content

Commit 50df5ba

Browse files
authored
Merge branch 'main' into patch-1
2 parents 60e9242 + 48637ee commit 50df5ba

File tree

3 files changed

+154
-8
lines changed

3 files changed

+154
-8
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

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi
4343
### Example 2
4444

4545
```powershell
46-
Get-SPOApplication -OwningApplicationId <OwningApplicationId>
46+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf
4747
```
4848

4949
Example 2 provides details about the application corresponding to the owning application Id in the specified tenant. It returns applications, which includes the list of guest application IDs with permissions to the owning application, as well as the SharingCapability settings, the `OverrideTenantSharingCapability` status and the list of all Copilot embedded chat host URLs.
5050

5151
### Example 3
5252

5353
```powershell
54-
Get-SPOApplication -OwningApplicationId <OwningApplicationId> -ApplicationId <ApplicationId>
54+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl
5555
```
5656

5757
Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`.
5858

5959
### Example 4
6060

6161
```powershell
62-
Get-SPOApplication -OwningApplicationId <OwningApplicationId> | Select-Object CopilotEmbeddedChatHosts
62+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | Select-Object CopilotEmbeddedChatHosts
6363
```
6464

6565
Example 4 enumerates the entire list of the host URLs driving the Copilot embedded chat capability on the SharePoint Embedded application.

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,25 @@ The **Get-SPOTheme** cmdlet returns the settings for a named existing theme, or
3131
This example shows how to use the **Get-SPOTheme** cmdlet to return the settings for the `"Custom Cyan"` theme created in the example for the **Add-SPOTheme** cmdlet. Note that this example uses the PowerShell `ConvertTo-Json` filter to display the theme in JSON format.
3232

3333
```powershell
34-
Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json
34+
Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json 4
3535
```
3636

37+
```Output
38+
{
39+
"Name": "Custom Cyan",
40+
"Palette": null,
41+
"ColorPairs": {
42+
"light": [
43+
{"accentColor": "#0078D4", "backgroundColor": "#FFFFFF"},
44+
{"accentColor": "#FFFFFF", "backgroundColor": "#0078D4"}
45+
]
46+
},
47+
"IsInverted": false
48+
}
49+
```
50+
51+
If the theme is in legacy format, the output will be:
52+
3753
```Output
3854
{
3955
"Name": "Custom Cyan",
@@ -111,3 +127,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
111127
## NOTES
112128
113129
## RELATED LINKS
130+
[Site theme](/sharepoint/site-theme)

0 commit comments

Comments
 (0)