Skip to content

Commit 1682fe5

Browse files
Merge pull request #637 from MicrosoftDocs/wlibebe-patch-1
Update Set-SPOSite.md
2 parents 51a9be7 + 12fadf5 commit 1682fe5

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