Skip to content

Commit 0573d5c

Browse files
committed
Adjusting Set-SPOTenant to align template
1 parent e673446 commit 0573d5c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ Set-SPOTenant -UsePersistentCookiesForExplorerView $true
8080
```
8181
This example enables the use of special persisted cookie for Open with Explorer.
8282

83+
### -----------------------EXAMPLE 5-----------------------------
84+
85+
```
86+
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
87+
```
88+
89+
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."
90+
8391

8492
## PARAMETERS
8593

@@ -758,14 +766,6 @@ Also, this will also block apps using the SharePointOnlineCredentials class to a
758766
> [!NOTE]
759767
> The change is not instant. It might take up to 24 hours to be applied.
760768
761-
EXAMPLE
762-
`
763-
Connect-SPOService
764-
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
765-
`
766-
767-
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."
768-
769769
```yaml
770770
Type: Boolean
771771
Parameter Sets: (All)

0 commit comments

Comments
 (0)