Skip to main content
Nintex Community Menu Bar

Code Fix: Unable to manually configure K2 for AAD

  • June 30, 2026
  • 0 replies
  • 0 views

Forum|alt.badge.img+11

Issue Description

When you manually configure K2 for Azure Active Directory (AAD) for the first time it fails and an error occurs.

Error Message:

The following error occurs:

“Error - array

at SourceCode.Sync.SyncKey.GetStorage(Byte[] array, PropertyType type)

at SourceCode.Sync.SyncKey.Create(String key)

at SourceCode.Sync.Storage.Sql.Models.Identity.CreateScimId(Int64 instanceHashKey, String identifierNamePart, IdentityType identityType)

at SourceCode.Sync.Storage.Sql.Repositories.ProviderRepository.EnsureIdentity(ProviderInstance instance, IIdentityInstruction instruction)

at SourceCode.Sync.Storage.Sql.Repositories.ProviderRepository.d__5.MoveNext()”

Resolution

The fix is available in:

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.