Get-EntraDirectoryObjectOnPremisesProvisioningError
オンプレミスのディレクトリをMicrosoft Entra IDに同期するときに、ディレクトリ同期エラーを返します。
構文
Default (既定)
Get-EntraDirectoryObjectOnPremisesProvisioningError
[-TenantId <String>]
[<CommonParameters>]
説明
Get-EntraDirectoryObjectOnPremisesProvisioningErrorは、オンプレミスのディレクトリをMicrosoft Entra IDに同期するときに、user、group、またはorganizational contactエンティティのディレクトリ同期エラーを返します。
例
例 1: ディレクトリ同期エラーを取得する
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
このコマンドは、Microsoft Entra IDへのオンプレミス同期中のusers、groups、またはorganizational contactsのディレクトリ同期エラーを一覧表示します。
例 2: フィルター処理を使用してディレクトリ同期エラーを取得する
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
このコマンドは、Microsoft Entra IDへのオンプレミス同期中のusers、groups、またはorganizational contactsのディレクトリ同期エラーを一覧表示します。
例 3: 特定のテナントのディレクトリ同期エラーを取得する
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
このコマンドは、Microsoft Entra IDへのオンプレミス同期中のusers、groups、またはorganizational contactsのディレクトリ同期エラーを一覧表示します。
-
-TenantIdテナントの一意の ID を指定します。
パラメーター
-TenantId
操作の一意のテナント ID。 このパラメーターは、パートナー シナリオAzure AD および MSOnline との互換性を提供します。 TenantID は、サインインしているユーザーのテナント ID です。
パラメーターのプロパティ
| 型: | System.String |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。