This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When migrating a SharePoint site collection with enabled K2 Application to a new SharePoint environment by a third party migration tool, the activation step can fail with no details.

Image

After enabling the SmartObject Server Logging, see KB000298, an unresolved group messages from BrokerpackageOut log similar to this one appears.

<serviceinstance name="site_name" guid="f9d7451b-3e0a-4136-xxx-xxxxxxxx"><messages><message severity="Error">Thread 1: Group cannot be found.</message></messages></serviceinstance>

Symptoms

A site collection is copied from one SharePoint environment to another SharePoint environment with a third-party migration tool. During this copy, the K2 hidden list is also copied, and this K2 hidden list contains the SharePoint group ID of the source environment. The issue occurs when calling to get the SharePoint group name of a source environment that does not exist in the target SharePoint environment.

Troubleshooting Steps

1. Obtain a valid SharePoint Group ID via the Management SmartObject (SharePoint 2013 > site_name > Management > Group > Get Groups method).

Image

2. Navigate to hidden K2 Settings list URL: [SiteURL]/Lists/K2%20Settings/AllItems.aspx

For example, portal.denallix site is having issue with activation, https://portal.denallix.com/Lists/K2 Settings/AllItems.aspx

and update both Solution_Designer and Solution_Participants list items' values to a valid one from step 1.

Image

3. Retry the App activation to resolve the issue.