Skip to content

Commit eba8459

Browse files
Merge branch 'main' into patch-4
2 parents 4a7a69a + 1682fe5 commit eba8459

File tree

5 files changed

+460
-25
lines changed

5 files changed

+460
-25
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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-SPOContainertypeConfiguration
5+
applicable: SharePoint Online
6+
title: Get-SPOContainerTypeConfiguration
7+
schema: 2.0.0
8+
author: FarreltinF
9+
ms.author: fanyi
10+
ms.reviewer:
11+
---
12+
13+
# Get-SPOContainertypeConfiguration
14+
15+
## SYNOPSIS
16+
17+
Returns container type configurations in a SharePoint Embedded application.
18+
19+
## SYNTAX
20+
21+
### ParamSet1
22+
23+
```powershell
24+
Get-SPOContainerTypeConfiguration [-ContainerTypeId <ContainerTypeId>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
The `Get-SPOContainerTypeConfiguration` cmdlet retrieves and returns configuration settings set on a container type created under a SharePoint Embedded application.
30+
31+
You must be a SharePoint Administrator or Global Administrator to run this cmdlet.
32+
33+
## EXAMPLES
34+
35+
### Example 1
36+
37+
```powershell
38+
Get-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4
39+
```
40+
41+
This example returns a list of configurations set on a container type '4f0af585-8dcc-0000-223d-661eb2c604e4'.
42+
43+
## PARAMETERS
44+
45+
### -ContainerTypeId
46+
47+
This parameter specifies the ID of the SharePoint Embedded container type. Use the `Get-SPOContainerType` command to retrieve the ContainerTypeId.
48+
49+
```yaml
50+
Type: String
51+
Parameter Sets: (All)
52+
Aliases:
53+
Applicable: SharePoint Online
54+
55+
Required: True
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
## RELATED LINKS
63+
64+
[Set-SPOContainerTypeConfiguration](Set-SPOContainerTypeConfiguration.md)
65+
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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/Set-SPOApplication
5+
Applicable: SharePoint Embedded
6+
title: Set-SPOApplication
7+
schema: 2.0.0
8+
author: FarreltinF
9+
ms.author: fanyi
10+
ms.reviewer:
11+
---
12+
13+
# Set-SPOApplication
14+
15+
## SYNOPSIS
16+
17+
Sets or updates one or more property values for a SharePoint application.
18+
19+
## SYNTAX
20+
21+
### ParamSet1
22+
23+
```powershell
24+
Set-SPOApplication
25+
[-OwningApplicationId <OwningApplicationId>]
26+
[–SharingCapability <SharingCapability>]
27+
[-OverrideTenantSharingCapability <Boolean>]
28+
```
29+
30+
## DESCRIPTION
31+
32+
`Set-SPOApplication` adjusts the sharing settings at the SharePoint Embedded application level, determining if this SharePoint Embedded application content can be shared with external guests.
33+
34+
You must be a SharePoint Embedded Administrator or Global Administrator to run the cmdlet.
35+
> [!NOTE]
36+
> The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`.
37+
> The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
38+
39+
## EXAMPLES
40+
41+
### Example 1
42+
43+
```powershell
44+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $false
45+
```
46+
47+
This example disables the override sharing capability, aligning this SharePoint Embedded application's sharing settings with sharing capability of the SharePoint Online.
48+
49+
### Example 2
50+
51+
```powershell
52+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -Disabled
53+
```
54+
55+
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.
56+
57+
## PARAMETERS
58+
59+
### -SharingCapability
60+
Determines what level of sharing is available for the SharePoint Embedded Application.
61+
62+
The valid values are:
63+
64+
- ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled.
65+
- Disabled - External user sharing (share by email) and guest link sharing are both disabled.
66+
- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled.
67+
- ExistingExternalUserSharingOnly - Only guests already in your organization's directory.
68+
69+
The default setting is None, meaning the application follows the SharePoint Online tenant-level sharing settings. Use the `Get-SPOTenant` cmdlet to view these settings.
70+
71+
```yaml
72+
Type: SharingCapabilities
73+
Parameter Sets: (All)
74+
Aliases:
75+
Applicable: SharePoint Embedded
76+
Required: True
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
83+
### -OverrideTenantSharingCapability
84+
This setting allows the application to independently set its sharing capabilities, overriding the tenant-level settings of SharePoint Online. Options:
85+
86+
- False (default) - The application follows the tenant-level sharing capability
87+
- True - The application's sharing settings are independent of the tenant level sharing capability
88+
89+
```yaml
90+
Type: Boolean
91+
Applicable: SharePoint Embedded
92+
Required: True
93+
Position: Named
94+
Default value: False
95+
Accept pipeline input: False
96+
Accept wildcard characters: False
97+
```
98+
99+
## RELATED LINKS
100+
101+
[Get-SPOApplication](Get-SPOApplication.md)
102+
103+
[Set-SPOTenant](set-spotenant.md)
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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/Set-SPOContainerTypeConfiguration
5+
applicable: SharePoint Online
6+
title: Set-SPOContainerTypeConfiguration
7+
schema: 2.0.0
8+
author: FarreltinF
9+
ms.author: fanyi
10+
ms.reviewer:
11+
---
12+
13+
# Set-SPOContainerTypeConfiguration
14+
15+
## SYNOPSIS
16+
17+
Sets or updates the configuration settings of a container type in SharePoint Embedded.
18+
19+
## SYNTAX
20+
```powershell
21+
Set-SPOContainerTypeConfiguration [-ContainerTypeId <ContainerTypeId>] [-DiscoverabilityDisabled <Boolean>] [-SharingRestricted <Boolean>]
22+
```
23+
24+
## DESCRIPTION
25+
26+
For any parameters passed in, the `Set-SPOContainerTypeConfiguration` cmdlet sets or updates the settings for a container type created under a SharePoint Embedded application.
27+
28+
You must be a SharePoint Administrator or Global Administrator to run this cmdlet.
29+
30+
## EXAMPLES
31+
32+
### Example 1
33+
34+
```powershell
35+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -DiscoverabilityDisabled $false
36+
```
37+
38+
Example 1 turns on discoverability for this container type. All content created within this container type will be discoverable in the Microsoft 365 experience, including on office.com, onedrive.com, recommended files, and other intelligent discovery experiences.
39+
40+
### Example 2
41+
42+
```powershell
43+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -SharingRestricted $false
44+
```
45+
46+
Example 2 turns on an open sharing model for this container type. Any container members and guest users with edit permissions can share files created within the container type.
47+
48+
## PARAMETERS
49+
50+
### -DiscoverabilityDisabled
51+
52+
As a SharePoint Administrator or Global Administrator in Microsoft 365, you can control how your content appears in the Microsoft 365 experience. The default value for this parameter is True, which hides the SharePoint Embedded application content throughout the Microsoft 365 environment, including on office.com, onedrive.com, in recommended sections, or through other Microsoft intelligent file discovery features.
53+
If you opt into the Microsoft 365 experience, your files will be integrated into Microsoft 365 environment, participating in intelligent file discovery.
54+
55+
PARAMVALUE: $true | $false
56+
57+
```yaml
58+
Type: Boolean
59+
Position: Named
60+
Required: False
61+
Default value: True
62+
Accept pipeline input: False
63+
Accept wildcard characters: False
64+
Applies to: SharePoint Embedded
65+
```
66+
67+
### -SharingRestricted
68+
69+
SharePoint Embedded offers a role-based sharing model that allows developers to configure file-sharing permissions based on container permission roles, offering a choice between a restrictive and an open sharing model. The open sharing model allows any container members and guest users with edit permissions to share files. The restrictive sharing model allows only container members who are either Owners or Managers to share files.
70+
71+
PARAMVALUE: $true | $false
72+
73+
```yaml
74+
Type: Boolean
75+
Position: Named
76+
Required: False
77+
Default value: True
78+
Accept pipeline input: False
79+
Accept wildcard characters: False
80+
Applies to: SharePoint Embedded
81+
```
82+
83+
## RELATED LINKS
84+
85+
[Get-SPOContainerTypeConfiguration](Get-SPOContainerTypeConfiguration.md)

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

Lines changed: 71 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
3232
[-DisableAppViews <AppViewsPolicy>]
3333
[-DisableCompanyWideSharingLinks <CompanyWideSharingLinksPolicy>]
3434
[-DisableFlows <FlowsPolicy>]
35-
[-LoopDefaultSharingLinkScope <String>]
36-
[-LoopDefaultSharingLinkRole <String>]
35+
[-LoopDefaultSharingLinkScope <SharingScope>]
36+
[-LoopDefaultSharingLinkRole <SharingRole>]
3737
[-RestrictedToGeo <RestrictedToRegion>]
3838
[-SharingAllowedDomainList <String>]
3939
[-SharingBlockedDomainList <String>]
@@ -57,6 +57,9 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
5757
[-RemoveLabel]
5858
[-BlockDownloadPolicy <Boolean>]
5959
[-OverrideBlockUserInfoVisibility <String>]
60+
[-OverrideSharingCapability <Boolean>]
61+
[-DefaultShareLinkScope <SharingScope>]
62+
[-DefaultShareLinkRole <SharingRole>]
6063
[<CommonParameters>]
6164
```
6265

@@ -919,7 +922,7 @@ The valid values are:
919922
- Uninitialized
920923

921924
```yaml
922-
Type: SharingCapabilities
925+
Type: SharingScope
923926
Parameter Sets: (All)
924927
Aliases:
925928
Applicable: SharePoint Online
@@ -937,17 +940,13 @@ Gets or sets default share link role for fluid on the site
937940
The valid values are:
938941

939942
- Edit
940-
- LimitedEdit
941-
- LimitedView
942-
- ManageList
943943
- None
944-
- Owner
945944
- RestrictedView
946945
- Review
947-
- Submit
946+
- View
948947

949948
```yaml
950-
Type: SharingCapabilities
949+
Type: SharingRole
951950
Parameter Sets: (All)
952951
Aliases:
953952
Applicable: SharePoint Online
@@ -1367,7 +1366,70 @@ Default value: None
13671366
Accept pipeline input: False
13681367
Accept wildcard characters: False
13691368
```
1369+
### -OverrideSharingCapability
1370+
1371+
Determines whether it should override the sharing capability on its partition. For example, if the tenant sharing capability is `ExternalUserAndGuestSharing`, the core partition sharing capability is `Disabled`, and the side-defined sharing capability is also `ExternalUserAndGuestSharing`, the effective site sharing capability should be `Disabled` (the most restrictive one among tenant, partition, and site) if `OverrideSharingCapability` is `false`. If `OverrideSharingCapability` is `true`, it skips checking partition sharing capability and sets the site sharing capability to `ExternalUserAndGuestSharing`.
1372+
1373+
1374+
PARAMVALUE: False | True
1375+
1376+
```yaml
1377+
Type: Boolean
1378+
Parameter Sets: ParamSet1
1379+
Aliases:
1380+
Applicable: SharePoint Online
1381+
Required: False
1382+
Position: Named
1383+
Default value: None
1384+
Accept pipeline input: False
1385+
Accept wildcard characters: False
1386+
```
1387+
1388+
### -DefaultShareLinkScope
1389+
1390+
The default share link scope on the site. It replaces `DefaultSharingLinkType`.
1391+
1392+
The valid values are:
13701393

1394+
- Anyone
1395+
- Organization
1396+
- SpecificPeople
1397+
- Uninitialized
1398+
1399+
```yaml
1400+
Type: SharingScope
1401+
Parameter Sets: (All)
1402+
Aliases:
1403+
Applicable: SharePoint Online
1404+
Required: False
1405+
Position: Named
1406+
Default value: Uninitialized
1407+
Accept pipeline input: False
1408+
Accept wildcard characters: False
1409+
```
1410+
### -DefaultShareLinkRole
1411+
1412+
The default share link role for the site collection. It replaces `DefaultLinkPermission`.
1413+
1414+
The valid values are:
1415+
1416+
- Edit
1417+
- None
1418+
- RestrictedView
1419+
- Review
1420+
- View
1421+
1422+
```yaml
1423+
Type: SharingRole
1424+
Parameter Sets: (All)
1425+
Aliases:
1426+
Applicable: SharePoint Online
1427+
Required: False
1428+
Position: Named
1429+
Default value: None
1430+
Accept pipeline input: False
1431+
Accept wildcard characters: False
1432+
```
13711433
### CommonParameters
13721434

13731435
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)