Skip to content

Commit 65be08e

Browse files
Update Set-SPOTenant.md
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
1 parent 579250a commit 65be08e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Set-SPOTenant [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
4141
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
4242
[-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>] [-UseFindPeopleInPeoplePicker <Boolean>]
4343
[-UserVoiceForFeedbackEnabled <Boolean>] [<CommonParameters>]
44+
[-ContentTypeSyncSitesList MySites] [-ExcludeSiteTemplate]
4445
```
4546

4647
## DESCRIPTION
@@ -88,6 +89,21 @@ Set-SPOTenant -LegacyAuthProtocolsEnabled $True
8889

8990
This example enables legacy authentication protocols on the tenant. This can help to enable login in situations where the admin users get an error like "Cannot contact web site 'https://contoso-admin.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'.", and the underlying error is "Access denied. Before opening files in this location, you must first browse to the web site and select the option to login automatically."
9091

92+
### -----------------------EXAMPLE 6------------------------------
93+
94+
```
95+
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
96+
```
97+
98+
This example enables Content Type Hub to push content types to all OneDrive for Business sites. There is no change in Content Type Publishing behaviour for other sites.
99+
100+
### -----------------------EXAMPLE 7-------------------------------
101+
102+
```
103+
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
104+
```
105+
106+
This example stops publishing content types to OneDrive for Business sites.
91107

92108
## PARAMETERS
93109

@@ -1224,6 +1240,19 @@ Accept pipeline input: False
12241240
Accept wildcard characters: False
12251241
```
12261242
1243+
### -ContentTypeSyncSiteTemplatesList MySites [-ExcludeSiteTemplate]
1244+
By default Content Type Hub will no longer push content types to OneDrive for Business sites (formerly known as MySites).
1245+
In case you want the Content Type Hub to push content types to OneDrive for Business sites, use:
1246+
```
1247+
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
1248+
```
1249+
When the feature is enabled, the Content Type Hub will push content types to OneDrive for Business sites.
1250+
1251+
Once you have enabled Content Type publishing to OneDrive for Business sites, you can disable it later using:
1252+
```
1253+
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
1254+
```
1255+
12271256
### CommonParameters
12281257
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
12291258

0 commit comments

Comments
 (0)