No ratings

Code Fix: When running a sync on an ADFS provider, multiple errors are logged

 

Code Fix: When running a sync on an ADFS provider, multiple errors are logged

 

Issue Description

When you run a sync via the Sync Engine on an ADFS provider, multiple errors are logged in the Host Server log file relating to SharePoint.

Error Message

The following error message is an example of the errors logged in the Host Server log file:

1317083","2020-07-08 11:30:44","Error","General","0","ErrorMessage","1","0 SharePointRoleProvider.GetGroups: System.Reflection.TargetInvocationException: An unexpected failure was encountered when contacting SharePoint to get information from the group provider App Catalog: Group cannot be found. ---> System.Exception: Group cannot be found. at SourceCode.SharePoint15.Client.CSOMFunctions.GroupFunctions.LoadGroup(Group group, Boolean throwException) at SourceCode.SharePoint15.Client.CSOMFunctions.GroupFunctions.GetUsersForGroup(String name) at SourceCode.Security.Providers.SharePoint.Shared.SPCsomClient.SourceCode.Security.Providers.SharePoint.Shared.ISPGroupProviderClient.GetGroupMembers(String groupName) --- End of inner exception stack trace ---","anonymous","0.0.0.0","SA-LABSDLX:C:\Program Files (x86)\K2 blackpearl\Host Server\Bin","1317083","a9e0b0ffa0724b3aa0bed4e228dbf177","".

Resolution

The fix is available in the following K2 versions:

K2 4.7 December 2019 Cumulative Update K2 Five (5.0) December 2019 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3) April 2020 Cumulative Update K2 Platform Classic(5.4)
X X X X X Fix Pack 14
  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.

Considerations

After installing the Fix Pack a new message entry is available in the HostServer.logging.config file:

<Message MsgID="64020" Severity="Error" Category="64" Name="SharePointGroupProviderSyncEngineMessage">
{0}
</Message>

The Severity will be set to “Error” by default. If you do not want the errors to be logged in the Host Server log file, you need to set the Severity to “Info”. In the HostServer.logging.config file, search for message ID 64020 and change the Severity as below:

<Message MsgID="64020" Severity="Info" Category="64" Name="SharePointGroupProviderSyncEngineMessage">
{0}
</Message>

See KB002707 for more information on Identity Synchronization and Caching

 

 

Labels: (1)
Version history
Last update:
‎05-20-2021 12:33 AM
Updated by:
Contributors