Get-EntraDirectoryObjectOnPremisesProvisioningError

Gibt Fehler bei der Verzeichnissynchronisierung beim Synchronisieren lokaler Verzeichnisse mit Microsoft Entra ID zurück.

Syntax

Default (Standard)

Get-EntraDirectoryObjectOnPremisesProvisioningError

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

Beschreibung

Es Get-EntraDirectoryObjectOnPremisesProvisioningError werden Verzeichnissynchronisierungsfehler für die user, groupoder organizational contact Entitäten zurückgegeben, wenn lokale Verzeichnisse mit Microsoft Entra ID synchronisiert werden.

Beispiele

Beispiel 1: Abrufen von Fehlern bei der Verzeichnissynchronisierung

Connect-Entra -Scopes 'User.Read.All', 'Directory.Read.All', 'Group.Read.All', 'Contacts.Read.All'
Get-EntraDirectoryObjectOnPremisesProvisioningError | Format-Table -AutoSize
Id                                   PropertyCausingError UserPrincipalName Category         Value                                      OccurredDateTime      DisplayName           OnPremisesSyncEnabled Mail
--                                   -------------------- ----------------- --------         -----                                      ----------------      -----------           --------------------- ----
cccccccc-2222-3333-4444-dddddddddddd ProxyAddresses                         PropertyConflict SMTP:ConflictMail@contoso.com           3/14/2022 11:46:44 PM ConflictMail1                          True
eeeeeeee-4444-5555-6666-ffffffffffff UserPrincipalName                      PropertyConflict BlockSoftMatch1@contoso.com             7/4/2024 12:06:16 AM  BlockSoftMatch1                        True

Dieser Befehl listet Verzeichnissynchronisierungsfehler für users, groupsoder organizational contacts während der lokalen Synchronisierung mit Microsoft Entra ID auf.

Beispiel 2: Abrufen von Verzeichnissynchronisierungsfehlern mit Filterung

Connect-Entra -Scopes 'User.Read.All', 'Directory.Read.All', 'Group.Read.All', 'Contacts.Read'
Get-EntraDirectoryObjectOnPremisesProvisioningError | where-Object propertyCausingError -eq 'UserPrincipalName' | Format-Table -AutoSize
Id                                   PropertyCausingError UserPrincipalName Category         Value                                      OccurredDateTime      DisplayName           OnPremisesSyncEnabled Mail
--                                   -------------------- ----------------- --------         -----                                      ----------------      -----------           --------------------- ----
cccccccc-2222-3333-4444-dddddddddddd ProxyAddresses                         PropertyConflict SMTP:ConflictMail@contoso.com           3/14/2022 11:46:44 PM ConflictMail1                          True
eeeeeeee-4444-5555-6666-ffffffffffff UserPrincipalName                      PropertyConflict BlockSoftMatch1@contoso.com             7/4/2024 12:06:16 AM  BlockSoftMatch1                        True

Dieser Befehl listet Verzeichnissynchronisierungsfehler für users, groupsoder organizational contacts während der lokalen Synchronisierung mit Microsoft Entra ID auf.

Beispiel 3: Abrufen von Verzeichnissynchronisierungsfehlern für einen bestimmten Mandanten

Connect-Entra -Scopes 'User.Read.All', 'Directory.Read.All', 'Group.Read.All', 'Contacts.Read'
$tenant = Get-EntraTenantDetail
Get-EntraDirectoryObjectOnPremisesProvisioningError -TenantId $tenant.Id | Format-Table -AutoSize
Id                                   PropertyCausingError UserPrincipalName Category         Value                                      OccurredDateTime      DisplayName           OnPremisesSyncEnabled Mail
--                                   -------------------- ----------------- --------         -----                                      ----------------      -----------           --------------------- ----
cccccccc-2222-3333-4444-dddddddddddd ProxyAddresses                         PropertyConflict SMTP:ConflictMail@contoso.com           3/14/2022 11:46:44 PM ConflictMail1                          True
eeeeeeee-4444-5555-6666-ffffffffffff UserPrincipalName                      PropertyConflict BlockSoftMatch1@contoso.com             7/4/2024 12:06:16 AM  BlockSoftMatch1                        True

Dieser Befehl listet Verzeichnissynchronisierungsfehler für users, groupsoder organizational contacts während der lokalen Synchronisierung mit Microsoft Entra ID auf.

  • -TenantId Gibt die eindeutige ID des Mandanten an.

Parameter

-TenantId

Die eindeutige Mandanten-ID für den Vorgang. Dieser Parameter bietet Kompatibilität mit Azure AD und MSOnline für Partnerszenarien. TenantID ist die Mandanten-ID des angemeldeten Benutzers.

Parametereigenschaften

Typ:System.String
Standardwert:None
Unterstützt Platzhalter:False
Nicht anzeigen:False

Parametersätze

(All)
Position:Named
Obligatorisch:False
Wert aus Pipeline:False
Wert aus Pipeline nach dem Eigenschaftsnamen:False
Wert aus verbleibenden Argumenten:False

CommonParameters

Dieses Cmdlet unterstützt die allgemeinen Parameter -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction und -WarningVariable. Weitere Informationen findest du unter about_CommonParameters.

Eingaben

System.Nullable`1