Get-EntraDirectoryObjectOnPremisesProvisioningError
Retourneert adreslijstsynchronisatiefouten bij het synchroniseren van on-premises mappen naar Microsoft Entra ID.
Syntax
Default (Standaard)
Get-EntraDirectoryObjectOnPremisesProvisioningError
[-TenantId <String>]
[<CommonParameters>]
Description
De Get-EntraDirectoryObjectOnPremisesProvisioningError retourneert adreslijstsynchronisatiefouten voor de user, groupof organizational contact entiteiten bij het synchroniseren van on-premises mappen naar Microsoft Entra ID.
Voorbeelden
Voorbeeld 1: Adreslijstsynchronisatiefouten ophalen
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
Met deze opdracht worden adreslijstsynchronisatiefouten voorusers, groupsof organizational contacts tijdens on-premises synchronisatie naar Microsoft Entra ID vermeld.
Voorbeeld 2: Adreslijstsynchronisatiefouten ophalen met filteren
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
Met deze opdracht worden adreslijstsynchronisatiefouten voorusers, groupsof organizational contacts tijdens on-premises synchronisatie naar Microsoft Entra ID vermeld.
Voorbeeld 3: Adreslijstsynchronisatiefouten voor een specifieke tenant ophalen
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
Met deze opdracht worden adreslijstsynchronisatiefouten voorusers, groupsof organizational contacts tijdens on-premises synchronisatie naar Microsoft Entra ID vermeld.
-
-TenantIdHiermee geeft u de unieke id van de tenant.
Parameters
-TenantId
De unieke tenant-id voor de bewerking. Deze parameter biedt compatibiliteit met Azure AD en MSOnline voor partnerscenario's. TenantID is de tenant-id van de aangemelde gebruiker.
Parametereigenschappen
| Type: | System.String |
| Default value: | None |
| Ondersteunt jokertekens: | False |
| DontShow: | False |
Parametersets
(All)
| Position: | Named |
| Verplicht: | False |
| Waarde uit pijplijn: | False |
| Waarde uit pijplijn op eigenschapsnaam: | False |
| Waarde van resterende argumenten: | False |
CommonParameters
Deze cmdlet ondersteunt de algemene parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction en -WarningVariable. Zie about_CommonParametersvoor meer informatie.