Get-EntraDirectoryObjectOnPremisesProvisioningError
Retourne des erreurs de synchronisation d’annuaires lors de la synchronisation des répertoires locaux vers Microsoft Entra ID.
Syntaxe
Default (Par défaut)
Get-EntraDirectoryObjectOnPremisesProvisioningError
[-TenantId <String>]
[<CommonParameters>]
Description
Renvoie Get-EntraDirectoryObjectOnPremisesProvisioningError des erreurs de synchronisation d’annuaires pour les entités ou grouporganizational contact les userrépertoires locaux lors de la synchronisation des répertoires locaux à Microsoft Entra ID.
Exemples
Exemple 1 : Obtenir des erreurs de synchronisation d’annuaires
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
Cette commande répertorie les erreurs de synchronisation d’annuaires pour users, groupsou organizational contacts pendant la synchronisation locale sur Microsoft Entra ID.
Exemple 2 : Obtenir des erreurs de synchronisation d’annuaires avec filtrage
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
Cette commande répertorie les erreurs de synchronisation d’annuaires pour users, groupsou organizational contacts pendant la synchronisation locale sur Microsoft Entra ID.
Exemple 3 : Obtenir des erreurs de synchronisation d’annuaires pour un locataire spécifique
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
Cette commande répertorie les erreurs de synchronisation d’annuaires pour users, groupsou organizational contacts pendant la synchronisation locale sur Microsoft Entra ID.
-
-TenantIdSpécifie l’ID unique du locataire.
Paramètres
-TenantId
ID de locataire unique pour l’opération. Ce paramètre fournit une compatibilité avec Azure AD et MSOnline pour les scénarios partenaires. TenantID est l’ID de locataire de l’utilisateur connecté.
Propriétés du paramètre
| Type: | System.String |
| Valeur par défaut: | None |
| Prend en charge les caractères génériques: | False |
| DontShow: | False |
Jeux de paramètres
(All)
| Position: | Named |
| Obligatoire: | False |
| Valeur du pipeline: | False |
| Valeur du pipeline par nom de propriété: | False |
| Valeur des arguments restants: | False |
CommonParameters
Cette applet de commande prend en charge les paramètres courants : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction et -WarningVariable. Pour plus d’informations, consultez about_CommonParameters.