This topic has not yet been rated - Rate this topic

Set-SPOTenant

Published: July 16, 2012

Applies to:  Office 365 | SharePoint Online 

Sets properties on the SharePoint Online organization.

Set-SPOTenant [-ExternalServicesEnabled <Nullable>] [-MaxCompatibilityLevel <Int32>] [-MinCompatibilityLevel <Int32>] [-NoAccessRedirectUrl <String>]

Parameters

Parameter Required Type Description

ExternalServicesEnabled

Optional

System.Nullable

Enables external services for a tenant. External services are defined as services that are not in the Office 365 datacenters.

MaxCompatibilityLevel

Optional

System.Int32

Specifies the upper bound on the compatibility level for new sites.

MinCompatibilityLevel

Optional

System.Int32

Specifies the lower bound on the compatibility level for new sites.

NoAccessRedirectUrl

Optional

System.String

Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess."

Detailed Description

You can use the Set-SPOTenant cmdlet to enable external services and to specify the versions in which site collections can be created. You can also use the Set-SPOSite cmdlet together with the Set-SPOTenant cmdlet to block access to a site in your organization and redirect traffic to another site.

You must be a SharePoint Online global administrator to run the cmdlet.

Input Types

Return Types

--------EXAMPLE --------

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/team1 -LockState NoAccess
Set-SPOTenant -NoAcessRedirectUrl 'http://www.contoso.com'

This example blocks access to https://contoso.sharepoint.com/sites/team1 and redirects traffic to http://www.contoso.com.

Change History

Date Description

July 16, 2012

Initial publication

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.