Symptoms
While configuring the App deployment wizard we are getting the below warning.
The K2 test app was not successfully queried.
Ensure the current user is not the 'System Account' or application pool identity of any SharePoint application pool. 'Site Owner' level permissions are required to add and remove apps. SPShellAdmin for the 'AppManagment' database is required.
Diagnoses
The result of this warning is related to prerequisites and preparing the environment permissions.
http://help.k2.com/onlinehelp/k2forsharepoint/ICG/current/default.htm_Install_Topics/Before/before_you_begin.htm_tracksearch=SPShellAdmin
Resolution
We did the following to try and resolve the issue:
• Ensured the install account was a local Administrator (checked ok)
• Ensured the install account was not an AppPoolAccount (said not an app pool ok)
• Ensured the install account had permissions on K2 and SharePoint relevant DB's (k2 checked ok, SP update access, add security admin perms)
• Ensured the install account was a site collection administrator and Farm administrator (checked ok)
• Ensured the install account was a K2 Administrator (updated)
• Restarted IIS
• Re logged into the box after applying security changes
• Redeployed the app.