Skip to content

Commit 955f2c2

Browse files
authored
Merge pull request MicrosoftDocs#2670 from nschonni/typo-sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
typo: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
2 parents 31dcaf1 + a4c742b commit 955f2c2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,52 +55,52 @@ You must be a SharePoint Online global administrator to run the cmdlet.
5555
## EXAMPLES
5656

5757
### -----------------------EXAMPLE 1-----------------------------
58-
```
58+
```powershell
5959
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/team1 -LockState NoAccess
6060
Set-SPOTenant -NoAccessRedirectUrl 'http://www.contoso.com'
6161
```
6262
This example blocks access to https://contoso.sharepoint.com/sites/team1 and redirects traffic to http://www.contoso.com.
6363

6464

6565
### -----------------------EXAMPLE 2-----------------------------
66-
```
66+
```powershell
6767
Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false
6868
```
6969
This example hides the "Everyone Except External Users" claim in People Picker.
7070

7171

7272
### -----------------------EXAMPLE 3-----------------------------
73-
```
73+
```powershell
7474
Set-SPOTenant -ShowAllUsersClaim $false
7575
```
7676
This example hides the "All Users" claim group in People Picker.
7777

7878

7979
### -----------------------EXAMPLE 4-----------------------------
80-
```
80+
```powershell
8181
Set-SPOTenant -UsePersistentCookiesForExplorerView $true
8282
```
8383
This example enables the use of special persisted cookie for Open with Explorer.
8484

8585
### -----------------------EXAMPLE 5-----------------------------
8686

87-
```
87+
```powershell
8888
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
8989
```
9090

9191
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."
9292

9393
### -----------------------EXAMPLE 6------------------------------
9494

95-
```
95+
```powershell
9696
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
9797
```
9898

99-
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+
This example enables Content Type Hub to push content types to all OneDrive for Business sites. There is no change in Content Type Publishing behavior for other sites.
100100

101101
### -----------------------EXAMPLE 7-------------------------------
102102

103-
```
103+
```powershell
104104
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
105105
```
106106

@@ -113,7 +113,7 @@ When the feature is enabled, all guest users are subject to conditional access p
113113

114114
The valid values are:
115115
False (default) - Guest access users are exempt from conditional access policy.
116-
True - Conditional access policy is applieda also to guest users.
116+
True - Conditional access policy is also applied to guest users.
117117

118118

119119
```yaml
@@ -396,7 +396,7 @@ Accept wildcard characters: False
396396
### -ShowAllUsersClaim
397397
Enables the administrator to hide the All Users claim groups in People Picker.
398398
399-
When users share an item with "All Users (x)", it is accessible to all organization members in the tenant's Azure Active Directory who have authenticated with via this method. When users share an item with "All Users (x)" it is accessible to all organtization members in the tenant that used NTLM to authentication with SharePoint.
399+
When users share an item with "All Users (x)", it is accessible to all organization members in the tenant's Azure Active Directory who have authenticated with via this method. When users share an item with "All Users (x)" it is accessible to all organization members in the tenant that used NTLM to authentication with SharePoint.
400400
401401
Note, the All Users (authenticated) group is equivalent to the Everyone claim, and shows as Everyone.
402402
To change this, see -ShowEveryoneClaim.
@@ -1245,13 +1245,13 @@ Accept wildcard characters: False
12451245
### -ContentTypeSyncSiteTemplatesList MySites [-ExcludeSiteTemplate]
12461246
By default Content Type Hub will no longer push content types to OneDrive for Business sites (formerly known as MySites).
12471247
In case you want the Content Type Hub to push content types to OneDrive for Business sites, use:
1248-
```
1248+
```powershell
12491249
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
12501250
```
12511251
When the feature is enabled, the Content Type Hub will push content types to OneDrive for Business sites.
12521252

12531253
Once you have enabled Content Type publishing to OneDrive for Business sites, you can disable it later using:
1254-
```
1254+
```powershell
12551255
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
12561256
```
12571257

0 commit comments

Comments
 (0)