Skip to content

Commit 8cba50e

Browse files
authored
Merge branch 'MicrosoftDocs:main' into syntex-settings-support
2 parents 3e4232c + a8fe455 commit 8cba50e

File tree

7 files changed

+128
-40
lines changed

7 files changed

+128
-40
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOContentSecurityPolicy.md

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,27 @@ ms.reviewer:
1515

1616
## SYNOPSIS
1717

18-
Adds an entry to the **Content Security Policy** configuration.
18+
Adds a source to the **Content Security Policy** configuration.
1919

2020
## SYNTAX
2121

2222
### Default
2323

2424
```powershell
25-
Add-SPOContentSecurityPolicy [-Url] <String> [-Directive] <String>
25+
Add-SPOContentSecurityPolicy [-Source] <String>
2626
```
2727

2828
## DESCRIPTION
2929

30-
Adds an entry to the **Content Security Policy** configuration.
31-
The url in each entry will be added to the corresponding directive during construction of the Content-Security-Policy header.
32-
In multi-geo environments **Content Security Policy** entries are unique to each geo.
33-
Entries with a "*" directive will be applied to all directives.
30+
Adds a source to the **Content Security Policy** configuration.
31+
The source will be added to the `script-src` directive during construction of the `Content-Security-Policy` header.
32+
In multi-geo environments, **Content Security Policy** configuration is unique to each geo.
3433

3534
## PARAMETERS
3635

37-
### -Url
36+
### -Source
3837

39-
Url to allow as part of this **Content Security Policy** entry.
38+
Source to be added to the **Content Security Policy** configuration.
4039

4140
```yaml
4241
Type: String
@@ -45,25 +44,7 @@ Aliases:
4544
Applicable: SharePoint Online
4645

4746
Required: True
48-
Position: Named
49-
Default value: None
50-
Accept pipeline input: False
51-
Accept wildcard characters: False
52-
```
53-
54-
### -Directive
55-
56-
Directive to allow as part of this **Content Security Policy** entry.
57-
Currently allowed values are "*", "script-src" and "worker-src".
58-
59-
```yaml
60-
Type: String
61-
Parameter Sets: (All)
62-
Aliases:
63-
Applicable: SharePoint Online
64-
65-
Required: True
66-
Position: Named
47+
Position: 0
6748
Default value: None
6849
Accept pipeline input: False
6950
Accept wildcard characters: False
@@ -74,3 +55,5 @@ Accept wildcard characters: False
7455
[Get-SPOContentSecurityPolicy](Get-SPOContentSecurityPolicy.md)
7556
7657
[Remove-SPOContentSecurityPolicy](Remove-SPOContentSecurityPolicy.md)
58+
59+
[Content Security Policy source values](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources)

sharepoint/sharepoint-ps/sharepoint-online/Copy-SPOPersonalSitePage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,7 @@ Answer: All permissions will be removed once the pages are moved.
210210
## RELATED LINKS
211211

212212
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
213+
214+
[Get-SPOPersonalSitePageCopyProgress.md](./Get-SPOPersonalSitePageCopyProgress.md)
215+
216+
[Get-SPOSitePages.md](./Get-SPOSitePages.md)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOContentSecurityPolicy.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.reviewer:
1515

1616
## SYNOPSIS
1717

18-
Returns all entries in the current **Content Security Policy** configuration.
18+
Returns all sources in the current **Content Security Policy** configuration.
1919

2020
## SYNTAX
2121

@@ -27,11 +27,12 @@ Get-SPOContentSecurityPolicy
2727

2828
## DESCRIPTION
2929

30-
Returns all entries in the current **Content Security Policy** configuration.
31-
The url in each entry will be added to the corresponding directive during construction of the `Content-Security-Policy` header.
30+
Returns all sources in the current **Content Security Policy** configuration.
3231

3332
## RELATED LINKS
3433

3534
[Add-SPOContentSecurityPolicy](Add-SPOContentSecurityPolicy.md)
3635

3736
[Remove-SPOContentSecurityPolicy](Remove-SPOContentSecurityPolicy.md)
37+
38+
[Content Security Policy source values](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOPersonalSitePageCopyProgress.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVar
108108
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
109109

110110
[Copy-SPOPersonalSitePage.md](./Copy-SPOPersonalSitePage.md)
111+
112+
[Get-SPOSitePages.md](./Get-SPOSitePages.md)
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spositepages
5+
applicable: SharePoint Online
6+
title: Get-SPOSitePages
7+
schema: 2.0.0
8+
author: xuyangzo
9+
ms.author: xuyangzou
10+
ms.reviewer:
11+
---
12+
13+
# Get-SPOSitePages
14+
15+
## SYNOPSIS
16+
17+
This cmdlet allows you to retrieve all SharePoint pages under a specific SharePoint site.
18+
19+
## SYNTAX
20+
21+
```powershell
22+
Get-SPOSitePages -Site <SpoSitePipeBind> [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
27+
After this cmdlet is executed, the information for each SharePoint page will be displayed with the following properties:
28+
29+
| Property | Description |
30+
| :------------------- | :--------------------------------------- |
31+
| Name | The name of the SharePoint page. |
32+
| Title | The title of the SharePoint page. |
33+
| UniqueId | The unique ID of the SharePoint page. |
34+
| CreatedDateTime | The creation date and time of the SharePoint page. |
35+
| LastModifiedDateTime | The last modified date and time of the SharePoint page. |
36+
| CreatedBy | The creator of the SharePoint page. |
37+
38+
## EXAMPLES
39+
40+
### -----------------------EXAMPLE 1-----------------------------
41+
42+
```powershell
43+
Get-SPOSitePages -Site 'https://contoso.sharepoint.com/sites/testsite'
44+
```
45+
46+
Example 1 demonstrates how a SharePoint Administrator can retrieve all the SharePoint pages under the `testsite`.
47+
48+
49+
## PARAMETERS
50+
51+
### -Site
52+
53+
Specifies the URL of the SharePoint site from which to fetch the SharePoint pages.
54+
55+
```yaml
56+
Type: SpoSitePipeBind
57+
Parameter Sets: (All)
58+
Aliases:
59+
Applicable: SharePoint Online
60+
61+
Required: True
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### CommonParameters
69+
70+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
71+
72+
73+
## RELATED LINKS
74+
75+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
76+
77+
[Copy-SPOPersonalSitePage.md](./Copy-SPOPersonalSitePage.md)
78+
79+
[Get-SPOPersonalSitePageCopyProgress.md](./Get-SPOPersonalSitePageCopyProgress.md)

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOContentSecurityPolicy.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ ms.reviewer:
1515

1616
## SYNOPSIS
1717

18-
Removes entries from the **Content Security Policy** configuration.
18+
Removes a source from the **Content Security Policy** configuration.
1919

2020
## SYNTAX
2121

2222
### Default
2323

2424
```powershell
25-
Remove-SPOContentSecurityPolicy [-Url] <String>
25+
Remove-SPOContentSecurityPolicy [-Source] <String>
2626
```
2727

2828
## DESCRIPTION
2929

30-
Removes all entries associated with the given url from the **Content Security Policy** configuration.
31-
In multi-geo environments, **Content Security Policy** entries are unique to each geo.
30+
Removes the given source from the **Content Security Policy** configuration.
31+
In multi-geo environments, **Content Security Policy** configuration is unique to each geo.
3232

3333
## PARAMETERS
3434

35-
### -Url
35+
### -Source
3636

37-
Url of the **Content Security Policy** entries to be removed.
37+
Source to be removed from the **Content Security Policy** configuration.
3838

3939
```yaml
4040
Type: String
@@ -54,3 +54,5 @@ Accept wildcard characters: False
5454
[Get-SPOContentSecurityPolicy](Get-SPOContentSecurityPolicy.md)
5555
5656
[Add-SPOContentSecurityPolicy](Add-SPOContentSecurityPolicy.md)
57+
58+
[Content Security Policy source values](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ Set-SPOTenant
156156
[-CoreDefaultLinkToExistingAccess <Boolean>]
157157
[-SelfServiceSiteCreationDisabled <Boolean>]
158158
[-SyncAadB2BManagementPolicy <Boolean>]
159-
[-ContentSecurityPolicyConfigSynced <Boolean>]
159+
[-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
160+
[-EnforceContentSecurityPolicy <Boolean>]
160161
[-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
161162
[-DocumentUnderstandingModelSelectedSitesList [String[]]]
162163
[-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
@@ -3031,10 +3032,26 @@ Accept wildcard characters: False
30313032

30323033
### -ResyncContentSecurityPolicyConfigurationEntries
30333034

3034-
When set to `True`, forces a sync of **Content Security Policy** entries for SharePoint framework component in the tenant application catalog.
3035-
New entries will be added to the configuration, if not already present, based on the `cdnBasedPath` property under a solution's `.config/write-manifests.json` if present.
3035+
When set to `True`, forces a sync of **Content Security Policy** sources for SharePoint Framework components in the tenant application catalog.
3036+
New sources will be added to the configuration, if not already present, based on the `cdnBasedPath` property under a solution's `.config/write-manifests.json` if present.
30363037
The sync may take up to 24 hours to complete.
3037-
In multi-geo environments, **Content Security Policy** entries are unique to each geo.
3038+
In multi-geo environments, **Content Security Policy** configuration is unique to each geo.
3039+
3040+
```yaml
3041+
Type: Boolean
3042+
Parameter Sets: (All)
3043+
Applicable: SharePoint Online
3044+
Required: False
3045+
Position: Named
3046+
Default value: False
3047+
Accept pipeline input: False
3048+
Accept wildcard characters: False
3049+
```
3050+
3051+
### -EnforceContentSecurityPolicyConfiguration
3052+
3053+
When set to `True` **Content Security Policy** violations will be enforced.
3054+
In multi-geo environments, **Content Security Policy** configuration is unique to each geo.
30383055

30393056
```yaml
30403057
Type: Boolean

0 commit comments

Comments
 (0)