Skip to content

Commit 4a61d32

Browse files
authored
Merge pull request #632 from salarson/patch-25
Update Set-SPOSite.md
2 parents 5f25e1f + 7b9d983 commit 4a61d32

File tree

1 file changed

+71
-9
lines changed

1 file changed

+71
-9
lines changed

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,6 +1366,69 @@ 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+
PARAMVALUE: False | True
1374+
1375+
```yaml
1376+
Type: Boolean
1377+
Parameter Sets: ParamSet1
1378+
Aliases:
1379+
Applicable: SharePoint Online
1380+
Required: False
1381+
Position: Named
1382+
Default value: None
1383+
Accept pipeline input: False
1384+
Accept wildcard characters: False
1385+
```
1386+
1387+
### -DefaultShareLinkScope
1388+
1389+
The default share link scope on the site. It replaces `DefaultSharingLinkType`.
1390+
1391+
The valid values are:
1392+
1393+
- Anyone
1394+
- Organization
1395+
- SpecificPeople
1396+
- Uninitialized
1397+
1398+
```yaml
1399+
Type: SharingScope
1400+
Parameter Sets: (All)
1401+
Aliases:
1402+
Applicable: SharePoint Online
1403+
Required: False
1404+
Position: Named
1405+
Default value: Uninitialized
1406+
Accept pipeline input: False
1407+
Accept wildcard characters: False
1408+
```
1409+
### -DefaultShareLinkRole
1410+
1411+
The default share link role for the site collection. It replaces `DefaultLinkPermission`.
1412+
1413+
The valid values are:
1414+
1415+
- Edit
1416+
- None
1417+
- RestrictedView
1418+
- Review
1419+
- View
1420+
1421+
```yaml
1422+
Type: SharingRole
1423+
Parameter Sets: (All)
1424+
Aliases:
1425+
Applicable: SharePoint Online
1426+
Required: False
1427+
Position: Named
1428+
Default value: None
1429+
Accept pipeline input: False
1430+
Accept wildcard characters: False
1431+
```
13701432

13711433
### CommonParameters
13721434

0 commit comments

Comments
 (0)