Get-EntraDirectoryObjectOnPremisesProvisioningError

Returns whether Microsoft Entra ID has objects with DirSync provisioning error.

Syntax

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

Description

The Get-EntraDirectoryObjectOnPremisesProvisioningError returns whether Microsoft Entra ID has objects with DirSync provisioning error.

Examples

Example 1: Return whether Microsoft Entra ID has objects with DirSync provisioning error

Connect-Entra -Scopes 'User.Read.All', 'Directory.Read.All', 'Group.Read.All', 'Contacts.Read'

Get-EntraDirectoryObjectOnPremisesProvisioningError

False

This command returns whether Microsoft Entra ID has objects with DirSync provisioning error.

Example 2: Return whether Microsoft Entra ID has objects with DirSync provisioning error

Connect-Entra -Scopes 'User.Read.All', 'Directory.Read.All', 'Group.Read.All', 'Contacts.Read'

Get-EntraDirectoryObjectOnPremisesProvisioningError -TenantId '0000aaaa-11bb-cccc-dd22-eeeeee333333'

False

This command returns whether Microsoft Entra ID has objects with DirSync provisioning error.

  • -TenantId Specifies the unique ID of the tenant.

Parameters

-TenantId

The unique ID of the tenant to perform the operation on.

If this isn't provided then the value defaults to the tenant of the current user.

This parameter is only applicable to partner users.

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

Inputs

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