Redigera

Dela via


Get-SPOTenantSyncClientRestriction

Returns the current configuration status.

Syntax

Get-SPOTenantSyncClientRestriction

Description

The Get-SPOTenantSyncClientRestriction cmdlet returns whether the TenantRestrictionEnabled property is true or false and DomainGUIDs that are currently in the safe recipient list which is represented by the AllowedDomainList property.

This cmdlet, that does not take any input, also returns the current state of the BlockMacSync and GrooveBlockOption properties.

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

Requires a valid Connect-SPOService context to identify the tenant. For information on how to connect to the tenant, see Connect-SPOService.

Examples

-----------------------EXAMPLE 1-----------------------------

Get-SPOTenantSyncClientRestriction

This example returns a current boolean value of the TenantRestrictionEnabled and BlockMacSync properties and a current set list of domains GUIDs in the AllowedDomainList property.

Inputs

None

Outputs

System.Object