Code Fix: An error occurs when attempting to sync users in SharePoint, Active Directory or Azure Active Directory

  • 16 February 2021
  • 0 replies
  • 7 views

Badge +9
 

Code Fix: An error occurs when attempting to sync users in SharePoint, Active Directory or Azure Active Directory

KB002924

PRODUCT
K2 Five 5.2
K2 Five (5.2) Fix Pack 15

 

Issue Description

When identities do not contain an IdentifierNamePart, an error occurs when attempting to sync users or groups in SharePoint, Active Directory or Azure Active Directory. This will occur on users or groups created without an ObjectSID or SamAccountName.

Error Message

The following error is displayed in the hostserver log file: "Error","General","0","ErrorMessage","WriteGroupSyncInstructionAsync","0 ADProvider Error message:  InstructionWriteError, SyncKeyHash : -5355469742702873509, SyncKeyValue: 9dc6cac9-981d-49a5-b44d-8ce0d44c90c4, Name: , Exception: System.ArgumentException: IdentifierNamePart at SourceCode.Sync.Storage.Sql.Repositories.ProviderRepository.EnsureIdentity(ICollection`1 identities, IdentityInstruction instruction) at SourceCode.Sync.Storage.Sql.Repositories.ProviderRepository.d__6.MoveNext()”.

Resolution

  1. Ensure you have K2 Five (5.2) installed.
  2. Download the K2 Five (5.2) FP15 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.2) FP15 to apply the fix.

 

 


0 replies

Be the first to reply!

Reply