Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.82 KB

File metadata and controls

61 lines (38 loc) · 1.82 KB
external help file sharepointonline.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/sharepoint-online/get-spotenantsyncclientrestriction
applicable SharePoint Online
title Get-SPOTenantSyncClientRestriction
schema 2.0.0
author trent-green
ms.author trgreen
ms.reviewer

Get-SPOTenantSyncClientRestriction

SYNOPSIS

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.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS