Skip to content

Commit 6074833

Browse files
authored
Merge branch 'main' into main
2 parents 843cd38 + c7e19ab commit 6074833

17 files changed

+356
-23
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
external help file:
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/add-spocontentsecuritypolicy
5+
applicable: SharePoint Online
6+
title: Add-SPOContentSecurityPolicy
7+
schema: 2.0.0
8+
author: jaobrie
9+
ms.author: jaobrie
10+
manager: ryannak
11+
ms.reviewer:
12+
---
13+
14+
# Add-SPOContentSecurityPolicy
15+
16+
## SYNOPSIS
17+
18+
Adds an entry to the **Content Security Policy** configuration.
19+
20+
## SYNTAX
21+
22+
### Default
23+
24+
```powershell
25+
Add-SPOContentSecurityPolicy [-Url] <String> [-Directive] <String>
26+
```
27+
28+
## DESCRIPTION
29+
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.
34+
35+
## PARAMETERS
36+
37+
### -Url
38+
39+
Url to allow as part of this **Content Security Policy** entry.
40+
41+
```yaml
42+
Type: String
43+
Parameter Sets: (All)
44+
Aliases:
45+
Applicable: SharePoint Online
46+
47+
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
67+
Default value: None
68+
Accept pipeline input: False
69+
Accept wildcard characters: False
70+
```
71+
72+
## RELATED LINKS
73+
74+
[Get-SPOContentSecurityPolicy](Get-SPOContentSecurityPolicy.md)
75+
76+
[Remove-SPOContentSecurityPolicy](Remove-SPOContentSecurityPolicy.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-FileSensitivityLabelInfo -FileUrl <String> [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
The `Get-FileSensitivityLabelInfo` cmdlet runs on a single office online file. If the file has a sensitivity label attached then it returns the id, displayname, isProtectionEnabled flag and id of the parent label (if applicable). You must be a SharePoint Online administrator or Global Administrator to run the `GetFileSensitivityLabelInfo` cmdlet. Note that this cmdlet does not work on files that have labels with custom permission or user defined permission or double key encryption.
27+
The `Get-FileSensitivityLabelInfo` cmdlet runs on a single office online file. If the file has a sensitivity label attached then it returns the id, displayname, isProtectionEnabled flag and id of the parent label (if applicable). You must be a SharePoint Online administrator to run the `GetFileSensitivityLabelInfo` cmdlet. Note that this cmdlet does not work on files that have labels with custom permission or user defined permission or double key encryption.
2828
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
2929

3030
## EXAMPLES

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Date time values that are older than 50 years or later than 20 years from today
3434
Each error includes the error message, time in UTC that error happened, the site where the error happened, and the error type.
3535
Values for error type are as follows: 0 - None, 1 - Install Error, 2 - Upgrade Error, 3 - Runtime Error.
3636

37-
You must be a SharePoint Online administrator or Global Administrator to run the cmdlet.
37+
You must be a SharePoint Online administrator to run the cmdlet.
3838

3939
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
4040

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Either ProductId or Name must be given. Name is ignored if ProductId is specifie
3030

3131
The returned collection of installed applications contains Product ID (GUID), Product name and Source. Values for source type are as follows: 0 = App Catalog and 1 = Marketplace.
3232

33-
You must be a SharePoint Online administrator or Global Administrator to run the cmdlet.
33+
You must be a SharePoint Online administrator to run the cmdlet.
3434

3535
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
3636

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

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: sharepointonline.xml
33
Module Name: Microsoft.Online.SharePoint.PowerShell
44
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spoapplication
5-
applicable: SharePoint Online
5+
applicable: SharePoint
66
title: Get-SPOApplication
77
schema: 2.0.0
88
author: cindylay
@@ -32,7 +32,7 @@ Get-SPOApplication [[-OwningApplicationId] <OwningApplicationid>] [[-Application
3232

3333
## DESCRIPTION
3434

35-
The `Get-SPOApplication` cmdlet retrieves and returns all third-party SharePoint Embedded applications registered in a tenant that match the given criteria. You must be a SharePoint Online Administrator or Global Administrator to run the cmdlet. For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
35+
The `Get-SPOApplication` cmdlet retrieves and returns SharePoint Embedded applications of all publishers registered in a tenant that match the given criteria. You must be a SharePoint Administrator to run the cmdlet. For permissions and the most current information about Windows PowerShell, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
3636

3737
## EXAMPLES
3838

@@ -50,37 +50,38 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi
5050
Get-SPOApplication -OwningApplicationId <OwningApplicationId>
5151
```
5252

53-
Example 2 lists the details of the owning application corresponding to the `OwningApplicationId` registered in the specified tenant.
53+
Example 2 provides details about the owning application 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 and the OverrideTenantSharingCapability status
5454

5555
### Example 3
5656

5757
```powershell
5858
Get-SPOApplication -OwningApplicationId <OwningApplicationId> -ApplicationId <ApplicationId>
5959
```
6060

61-
Example 3 enumerates permissions of the owning applications registered in the specified tenant.
62-
61+
Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`.
6362
## PARAMETERS
6463

6564
### -OwningApplicationId
6665

67-
Use this parameter to get details about apps registered in the specified tenant.
66+
Use this parameter to get details about applications registered in the specified tenant.
6867

6968
The following details are returned:
7069

7170
- OwningApplicationId
7271

7372
- OwningApplicationName
7473

75-
- Storage
76-
7774
- Applications (by id)
75+
76+
- SharingCapability
77+
78+
- OverrideTenantSharingCapability
7879

7980
```yaml
8081
Type: String
8182
Parameter Sets: (All)
8283
Aliases:
83-
Applicable: SharePoint Online
84+
Applicable: SharePoint
8485

8586
Required: False
8687
Position: Named
@@ -91,13 +92,13 @@ Accept wildcard characters: False
9192
9293
### -ApplicationId
9394
94-
Use this parameter to enumerate permissions of the owning applications registered in the specified tenant.
95+
Use this parameter to enumerate app-only permissions of the guest application id with access to the specified owning application.
9596
9697
```yaml
9798
Type: String
9899
Parameter Sets: ParamSet2
99100
Aliases:
100-
Applicable: SharePoint Online
101+
Applicable: SharePoint
101102

102103
Required: False
103104
Position: Named
@@ -114,4 +115,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
114115
## RELATED LINKS
115116
116117
[Get-SPOContainer](./Get-SPOContainer.md)
117-
[Set-SPOApplication] (Set-SPOApplication.md)
118+
[Set-SPOApplication](./Set-SPOApplication.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Get-SPOContainer [[-Identity] <ContainerSiteURL>]
5050

5151
The `Get-SPOContainer` cmdlet retrieves and returns a list of Containers and details of an individual Container created under a SharePoint Embedded application. This command is available only in SharePoint Online Management Shell version 16.0.24211.12000 or higher to run this cmdlet.
5252

53-
You must be a SharePoint Online Administrator or Global Administrator to run this cmdlet.
53+
You must be a SharePoint Online Administrator to run this cmdlet.
5454

5555
> [!NOTE]
5656
> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
external help file:
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spocontentsecuritypolicy
5+
applicable: SharePoint Online
6+
title: Get-SPOContentSecurityPolicy
7+
schema: 2.0.0
8+
author: jaobrie
9+
ms.author: jaobrie
10+
manager: ryannak
11+
ms.reviewer:
12+
---
13+
14+
# Get-SPOContentSecurityPolicy
15+
16+
## SYNOPSIS
17+
18+
Returns all entries in the current **Content Security Policy** configuration.
19+
20+
## SYNTAX
21+
22+
### Default
23+
24+
```powershell
25+
Get-SPOContentSecurityPolicy
26+
```
27+
28+
## DESCRIPTION
29+
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.
32+
33+
## RELATED LINKS
34+
35+
[Add-SPOContentSecurityPolicy](Add-SPOContentSecurityPolicy.md)
36+
37+
[Remove-SPOContentSecurityPolicy](Remove-SPOContentSecurityPolicy.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-SPOCrossGeoMovedUsers -Direction <String> [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
This cmdlet allows you to get the moved users out and in the current SPO Site. It requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online Administrator or Global Administrator to get the moved users out and in the current SPO site.
27+
This cmdlet allows you to get the moved users out and in the current SPO Site. It requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online Administrator to get the moved users out and in the current SPO site.
2828

2929
## EXAMPLES
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-SPOCrossGeoUsers -ValidDataLocation <Boolean> [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
The Get-SPOCrossGeoUsers cmdlet is used to return the SharePoint Online users that match a given criteria. The ValidDataLocation parameter is a switch used to validate the location of the data. This cmdlet requires a connection to a multi-geo tenant to run correctly. You must have the SharePoint Online Admin role or Global Administrator role to execute this cmdlet.
27+
The Get-SPOCrossGeoUsers cmdlet is used to return the SharePoint Online users that match a given criteria. The ValidDataLocation parameter is a switch used to validate the location of the data. This cmdlet requires a connection to a multi-geo tenant to run correctly. You must have the SharePoint Online Admin role to execute this cmdlet.
2828

2929
## EXAMPLES
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-SPOCrossTenantCompatibilityStatus -PartnerCrossTenantHostUrl <String> [<Comm
2424

2525
## DESCRIPTION
2626

27-
This cmdlet allows you to determine the compatibility with the partner tenant before cross-tenant migration. You must be a SharePoint Administrator or a Global Administrator to run it.
27+
This cmdlet allows you to determine the compatibility with the partner tenant before cross-tenant migration. You must be a SharePoint Administrator to run it.
2828

2929
## EXAMPLES
3030

0 commit comments

Comments
 (0)