Allow multiple K2 Servers to use the same SharePoint 2013 Farm

  • 24 February 2022
  • 0 replies

Userlevel 4
Badge +17

Allow multiple K2 Servers to use the same SharePoint 2013 Farm


K2 blackpearl 4.6.11
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.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


This is an addition to steps in the following KB:

Before You Begin

After performing the steps in the KB:, you may still get the following error when using the Registration Wizard under "SharePoint Service Broker:"


"SmartObject Server Exception: Error refreshing Service Instance '[SP Service Instance Name]'. Service returned : 'The remote server returned an error: (401) Unauthorized.Failed to initialize the Context: URL: [SP Site URL]"

How-to Steps

To resolve the issue complete these steps:

- Stop the K2 Service

- Run the following SQL query:


TRUNCATE TABLE [K2].[Authorization].[OAuthAppOnlyToken]


- Restart the K2 Service

- Rerun the Registration Wizard.

0 replies

Be the first to reply!