The user nalkoohiji is removed from the AD. But it still shows in the SharePoint User Profile . The MIM shows the below error.
Export retry FAILED for Entry[ObjectType: user, Anchor: DOMAINNAME_nalkoohiji__753af5b6-1064-4898-b204-50504be1c185]..
Error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> The MERGE statement conflicted with the FOREIGN KEY constraint "FK_ADImportFailedItems_DCId". The conflict occurred in database "Profile_DB", table "dbo.ADImportDCMapping", column 'DCId'.
The statement has been terminated.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.IdentityManagement.Connector.Sharepoint.SharePointProfileImportExportService.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
at Microsoft.IdentityManagement.Connector.Sharepoint.SharepointServiceProvider.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
at Microsoft.IdentityManagement.Connector.Sharepoint.SharepointConnector.PutExportEntries(IList`1 csEntries)