SharePoint System Account Usage

  • 16 February 2021
  • 0 replies
  • 48 views

Userlevel 5
Badge +20
 

SharePoint System Account Usage

KB000239

PRODUCT
K2 blackpearl 0807
BASED ON
K2 blackpearl 0807
LEGACY/ARCHIVED CONTENT
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.

 

Introduction

Using the SharePoint System (AppPool) account with a K2 SharePoint Integrated Process is not recommended in K2 blackpearl. This includes SharePoint Integrated Processes designed with K2 Web Designer for SharePoint, K2 Designer for Visual Studio, and K2 for Visio.

Using the SharePointSystem Account

When a SharePoint Workflow Integrated process is started from the SharePoint site while the user is logged in using the SharePointSystem account, the K2 Server will be unable to resolve the User. An error occurs because the SharePointSystem account is not an Active Directory account type. The process will show as completed within the SharePoint site and the error will state that the user was unknown.
 

Example Scenario

Important: These steps are provided to demonstrate the problems that may result from using the SharePoint System (AppPool) account.

The K2 developer performs the following steps:
  1. Logs onto the SharePoint site as the System account
  2. Navigates to the K2 Web Designer
  3. Creates a process that has "Start process when item is created" enabled
  4. Deploys the process
  5. Creates a new document in the MOSS library while logged in using the SharePoint System account (i.e. Starts the Process as SharePointSystem)
  6. The process will show as complete but will have an error shown in the event viewer

The local machine has the following items installed:

  • Microsoft .NET Framework 2.0 SP1
  • K2 blackpearl SP1

 

 

Error Messages

The following error message relates to this KB Article:
  • The workflow will complete with an error
 

Error Resolution

The use of the SharePoint System (AppPool) account is not recommended. Do not attempt to start a K2 SharePoint Integrated workflow when logged in with the SharePointSystem account

 


0 replies

Be the first to reply!

Reply