Skip to content

Commit e9e4d15

Browse files
authored
Merge branch 'main' into main
2 parents 723f1ee + 461afa1 commit e9e4d15

File tree

9 files changed

+734
-64
lines changed

9 files changed

+734
-64
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/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)
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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-spoenterpriseappinsightsreport
5+
applicable: SharePoint Online
6+
title: Get-SPOEnterpriseAppInsightsReport
7+
schema: 2.0.0
8+
author: sumikumar
9+
ms.author: sumikumar
10+
ms.reviewer:
11+
manager: hikakar
12+
---
13+
14+
# Get-SPOEnterpriseAppInsightsReport
15+
16+
## SYNOPSIS
17+
18+
This cmdlet enables the administrator to check status of all active and available reports when no report ID is present and to view or download a report if report ID is present.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Get-SPOEnterpriseAppInsightsReport [-ReportId <Guid>] [-Action <ActionType>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
If this cmdlet is executed without any parameters, it displays the status of all active and completed reports with the following properties:
29+
30+
| Property | Description |
31+
|:---------------------|:------------------------------------------------------------|
32+
| Id | The unique Id of the report. |
33+
| CreatedDateTimeInUtc | The date and time the report creation was triggered in UTC. |
34+
| Status | The status of the report. |
35+
| ReportPeriodInDays | The report duration in days. |
36+
37+
If this cmdlet is executed with `-ReportId` as parameter, the top 100 records of the report from the last N days will be displayed with the following properties:
38+
39+
| Property | Description |
40+
|:----------------|:---------------------------------------------------------------------------|
41+
| SiteName | The name of the SharePoint site. |
42+
| SiteURL | The URL of the SharePoint site. |
43+
| SiteSensitivity | The sensitivity label of the SharePoint site. |
44+
| AppID | The AppID of the 3P application. |
45+
| AppPermissions | The permissions granted to the 3P application. |
46+
| RequestVoulme | The number of times the 3P application accessed the given SharePoint site. |
47+
48+
If this cmdlet is executed with both the parameters, i.e. `-ReportId` and `-Action`, and if the value of `-Action` is set as `View`, it will display the same result as described above. If the value of `-Action` is set to `Download`, it will download the full report in CSV format to the same path from where the command was run.
49+
50+
> [!NOTE]
51+
> All reports adhere to any retention timeline as per [Data Access Governance](/sharepoint/data-access-governance-reports).
52+
53+
## EXAMPLES
54+
55+
### -----------------------EXAMPLE 1-----------------------------
56+
57+
```powershell
58+
Get-SPOEnterpriseAppInsightsReport
59+
```
60+
61+
Example 1 enables administrator to view the status of all active and completed reports.
62+
63+
### -----------------------EXAMPLE 2-----------------------------
64+
65+
```powershell
66+
Get-SPOEnterpriseAppInsightsReport –ReportId 9d946216-afe7-49f5-8267-7b662435c70b
67+
```
68+
69+
Example 2 enables administrator to view the enterprise application insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b`
70+
71+
### -----------------------EXAMPLE 3-----------------------------
72+
73+
```powershell
74+
Get-SPOEnterpriseAppInsightsReport – ReportId 9d946216-afe7-49f5-8267-7b662435c70b -Action Download
75+
```
76+
77+
Example 3 enables administrator to download the enterprise application insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b` to the same path from where the command was run.
78+
79+
## PARAMETERS
80+
81+
### -ReportId
82+
83+
It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded.
84+
85+
```yaml
86+
Type: Guid
87+
Parameter Sets: (All)
88+
Aliases:
89+
Applicable: SharePoint Online
90+
91+
Required: False
92+
Position: Named
93+
Default value: None
94+
Accept pipeline input: False
95+
Accept wildcard characters: False
96+
```
97+
98+
### -Action
99+
100+
It is an optional parameter, and it specifies whether to view or download a specific report.
101+
102+
```yaml
103+
Type: ActionType
104+
Parameter Sets: (All)
105+
Aliases:
106+
Applicable: SharePoint Online
107+
108+
Required: False
109+
Position: Named
110+
Default value: None
111+
Accept pipeline input: False
112+
Accept wildcard characters: False
113+
```
114+
115+
### CommonParameters
116+
117+
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).
118+
119+
## RELATED LINKS
120+
121+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
122+
123+
[Start-SPOEnterpriseAppInsightsReport](./Start-SPOEnterpriseAppInsightsReport.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-SPOApplication.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ You must be a SharePoint Embedded Administrator or Global Administrator to run t
3636
> The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`.
3737
> The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
3838
39+
To invite people outside your organization, please make sure [Microsoft Entra B2B](/sharepoint/sharepoint-azureb2b-integration) is enabled.
40+
3941
## EXAMPLES
4042

4143
### Example 1
@@ -54,9 +56,18 @@ Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -Ov
5456

5557
This example enables the override, restricting file sharing within the SharePoint Embedded application to internal company users only, regardless of the broader SharePoint Online tenant settings.
5658

59+
### Example 3
60+
61+
```powershell
62+
Set-SPOTenant -EnableAzureADB2BIntegration $true
63+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -ExternalUserandGuestSharing
64+
```
65+
This example demonstrates how to enable file sharing within the SharePoint Embedded application for external users. Note that B2B integration must be enabled to allow guest invitations to SharePoint Embedded apps.
66+
5767
## PARAMETERS
5868

5969
### -SharingCapability
70+
6071
Determines what level of sharing is available for the SharePoint Embedded Application.
6172

6273
The valid values are:
@@ -81,6 +92,7 @@ Accept wildcard characters: False
8192
```
8293
8394
### -OverrideTenantSharingCapability
95+
8496
This setting allows the application to independently set its sharing capabilities, overriding the tenant-level settings of SharePoint Online. Options:
8597
8698
- False (default) - The application follows the tenant-level sharing capability

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

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
6060
[-OverrideSharingCapability <Boolean>]
6161
[-DefaultShareLinkScope <SharingScope>]
6262
[-DefaultShareLinkRole <SharingRole>]
63+
[-HidePeoplePreviewingFiles <Boolean>]
64+
[-HidePeoplePresenceInLists <Boolean>]
6365
[<CommonParameters>]
6466
```
6567

@@ -100,6 +102,11 @@ Set-SPOSite [-Identity] <SpoSitePipeBind>
100102
[<CommonParameters>]
101103
```
102104

105+
### ClearGroupId
106+
```powershell
107+
Set-SPOSite [-Identity] <SpoSitePipeBind> [-ClearGroupId] [<CommonParameters>]
108+
```
109+
103110
## DESCRIPTION
104111

105112
For any parameters that are passed in, the `Set-SPOSite` cmdlet sets or updates the setting for the site collection identified by parameter Identity.
@@ -1261,8 +1268,6 @@ The valid values are:
12611268
> b. `MajorWithMinorVersionsLimit` accepts values from 0 through 50,000 (inclusive).
12621269
> c. `ExpireVersionsAfterDays` accepts values of 0 to Never Expire or values >= 30 to delete versions that exceed that time period.
12631270
> When version history limits are managed automatically (`EnableAutoExpirationVersionTrim $true`), setting `MajorVersionLimit` or `ExpireVersionsAfterDays` will result in an error as the count limits are set by the service.
1264-
>
1265-
> This parameter is currently under public preview.
12661271

12671272
PARAMVALUE: $true | $false
12681273

@@ -1435,7 +1440,63 @@ Position: Named
14351440
Default value: None
14361441
Accept pipeline input: False
14371442
Accept wildcard characters: False
1443+
1444+
```
1445+
### -HidePeoplePreviewingFiles
1446+
1447+
This setting disables the feature in OneDrive and SharePoint file previewing that displays the presence of other users on the file. It does not affect any experiences outside of the previewer.
1448+
1449+
PARAMVALUE: False | True
1450+
1451+
If set to True, the presence of other users on the file will no longer be displayed.
1452+
1453+
1454+
```yaml
1455+
Type: Boolean
1456+
Parameter Sets: (All)
1457+
Aliases:
1458+
Applicable: SharePoint Online
1459+
Required: False
1460+
Position: Named
1461+
Default value: False
1462+
Accept pipeline input: False
1463+
Accept wildcard characters: False
1464+
1465+
```
1466+
### -HidePeoplePresenceInLists
1467+
1468+
This setting disables the feature in Microsoft Lists that displays the presence of other users on the list and its items when they are viewing.
1469+
1470+
PARAMVALUE: False | True
1471+
1472+
If set to True, the presence of other users on the list and its items will no longer be displayed. List presence is enabled by default.
1473+
1474+
```yaml
1475+
Type: Boolean
1476+
Parameter Sets: (All)
1477+
Aliases:
1478+
Applicable: SharePoint Online
1479+
Required: False
1480+
Position: Named
1481+
Default value: False
1482+
Accept pipeline input: False
1483+
Accept wildcard characters: False
1484+
1485+
```
1486+
### -ClearGroupId
1487+
This parameter allows you to remove the assigned Microsoft 365 group ID on a site, when the group is permanently deleted.
1488+
1489+
```yaml
1490+
Type: SwitchParameter
1491+
Parameter Sets: ClearGroupId
1492+
Aliases:
1493+
Required: False
1494+
Position: Named
1495+
Default value: None
1496+
Accept pipeline input: False
1497+
Accept wildcard characters: False
14381498
```
1499+
14391500
### CommonParameters
14401501

14411502
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).

0 commit comments

Comments
 (0)