Edit

Share via


Get-EntraBetaDirSyncConfiguration

Gets the directory synchronization settings.

Syntax

Get-EntraBetaDirSyncConfiguration
   [-TenantId <String>]
   [<CommonParameters>]

Description

The Get-EntraBetaDirSyncConfiguration cmdlet gets the directory synchronization settings. See configuration settings details.

For delegated scenarios, the user needs to be assigned the Global Administrator role.

Examples

Example 1: Get directory synchronization settings

Connect-Entra -Scopes 'OnPremDirectorySynchronization.ReadWrite.All'
Get-EntraBetaDirSyncConfiguration

AccidentalDeletionThreshold DeletionPreventionType
--------------------------- ----------------------
                        500 enabledForCount

This example gets directory synchronization settings.

Example 2: Get directory synchronization settings by TenantId

Connect-Entra -Scopes 'OnPremDirectorySynchronization.ReadWrite.All'
$tenant = Get-EntraBetaTenantDetail
Get-EntraBetaDirSyncConfiguration -TenantId $tenant.Id

AccidentalDeletionThreshold DeletionPreventionType
--------------------------- ----------------------
                        500 enabledForCount

This example gets directory synchronization settings by TenantId.

  • -TenantId Specifies the unique ID of the tenant.

Parameters

-TenantId

The unique ID of the tenant for the operation. This parameter provides compatibility with Azure AD and MSOnline for partner scenarios. TenantID is the signed-in user's tenant ID.

Type:System.String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System. Nullable`1[[System. Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]