external help file: Microsoft.Online.Administration.Automation.PSModule.dll-Help.xml online version: schema: 2.0.0 ms.assetid: FF8B1BBA-6FF1-4739-A554-B83079EA4FEC ms.reviewer: rodejo ms.custom: iamfeature=PowerShell
Checks for objects with synchronization provisioning errors in a tenant.
Get-MsolDirSyncProvisioningError [-ErrorCategory <String>] [-PropertyName <String>] [-PropertyValue <String>]
[-SearchString <String>] [-SortField <SortField>] [-SortDirection <SortDirection>] [-MaxResults <Int32>]
[-TenantId <Guid>] [<CommonParameters>]
Get-MsolDirSyncProvisioningError [-ErrorCategory <String>] [-PropertyName <String>] [-PropertyValue <String>]
[-SearchString <String>] [-SortField <SortField>] [-SortDirection <SortDirection>] [-All] [-TenantId <Guid>]
[<CommonParameters>]
The Get-MsolDirSyncProvisioningError cmdlet checks for objects with synchronization provisioning errors in a tenant.
All parameter arguments for this cmdlet are case sensitive.
PS C:\>Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict
This command gets all objects with DirSyncProvisioningErrors due to a PropertyConflict in the tenant.
PS C:\>Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict -PropertyName UserPrincipalName
This command gets all objects with DirSyncProvisioningErrors due to a PropertyConflict on the UserPrincipalName attribute.
PS C:\>Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict -PropertyName UserPrincipalName -PropertyValue "[email protected]"
This command gets all objects with DirSyncProvisioningErrors due to a PropertyConflict on the UserPrincipalName attribute with the property value of [email protected].
PS C:\>Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict -SearchString "PattiFul"
This command gets all objects with DirSyncProvisioningErrors with a PropertyConflict that uses the display name attribute starting with PattiFul.
PS C:\>Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict -MaxResults 5
This command gets a maximum of five objects with DirSyncProvisioningErrors.
Indicates that this cmdlet returns all provisioning errors.
Type: SwitchParameter
Parameter Sets: All__0
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the error category of the provisioning errors. PropertyConflict is the only supported value and must be included.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the property name of the tenant.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the property value for which this cmdlet searches the provisioning errors.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a search string in which this cmdlet searches the list of provisioning errors.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name field of the results that this cmdlet sorts by. The acceptable values for this parameter are:
- DisplayName
- UserPrincipleName
- None
Type: SortField
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the sort direction of the provisioning errors. The acceptable values for this parameter are:
- Ascending
- Descending
Type: SortDirection
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the maximum number of results that this cmdlet returns.
Type: Int32
Parameter Sets: ListDirSyncProvisioningErrors__0
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the unique ID of the tenant to perform the operation on. If you do not specify this parameter the cmdlet will use the ID of the current user. This parameter is only applicable to partner users.
Type: Guid
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).