Get-EntraDirectoryObjectOnPremisesProvisioningError
Returnerar katalogsynkroniseringsfel vid synkronisering av lokala kataloger till Microsoft Entra ID.
Syntax
Default (Standard)
Get-EntraDirectoryObjectOnPremisesProvisioningError
[-TenantId <String>]
[<CommonParameters>]
Description
Get-EntraDirectoryObjectOnPremisesProvisioningError Returnerar katalogsynkroniseringsfel för userentiteterna , groupeller organizational contact vid synkronisering av lokala kataloger till Microsoft Entra ID.
Exempel
Exempel 1: Hämta katalogsynkroniseringsfel
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
Det här kommandot visar katalogsynkroniseringsfel för users, groupseller organizational contacts under lokal synkronisering till Microsoft Entra ID.
Exempel 2: Hämta katalogsynkroniseringsfel med filtrering
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
Det här kommandot visar katalogsynkroniseringsfel för users, groupseller organizational contacts under lokal synkronisering till Microsoft Entra ID.
Exempel 3: Hämta katalogsynkroniseringsfel för en specifik klientorganisation
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
Det här kommandot visar katalogsynkroniseringsfel för users, groupseller organizational contacts under lokal synkronisering till Microsoft Entra ID.
-
-TenantIdAnger klientorganisationens unika ID.
Parametrar
-TenantId
Det unika klient-ID:t för åtgärden. Den här parametern ger kompatibilitet med Azure AD och MSOnline för partnerscenarier. TenantID är den inloggade användarens klientorganisations-ID.
Parameteregenskaper
| Typ: | System.String |
| Standardvärde: | None |
| Stöder jokertecken: | False |
| DontShow: | False |
Parameteruppsättningar
(All)
| Position: | Named |
| Obligatorisk: | False |
| Värde från pipeline: | False |
| Värde från pipeline efter egenskapsnamn: | False |
| Värde från återstående argument: | False |
CommonParameters
Den här cmdleten stöder vanliga parametrar: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.