K2 for Sharepoint App installation error: The specified application identifier is invalid or does not exist.

  • 16 February 2021
  • 0 replies
  • 140 views

Userlevel 5
Badge +20
 

K2 for Sharepoint APP installation error: The specified application identifier is invalid or does not exist

kbt140753

PRODUCT
K2 smartforms 4.6.11
BASED ON
K2 smartforms 4.6.11
TAGS
Installation
Microsoft SharePoint
Security
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.
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.

Issue

After using K2 Smartforms (4.16060.2000.3)InstallationAppDeployment.exe on a SharePoint Server to deploy K2 for SharePoint app, the installation finished with an error, but the app installed into the App Catalog.


When trying to install the app, the following error appears: "The specified application identifier 3308eaff-d056-4a32-9b1d-563f81bf06f9 is invalid or does not exist."

 

The following error appears in the installer trace log for K2 Smartforms:

 

"K2Application.SetupS2S:  Logged Error: Could not setup S2S. Exception: System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'AppPrincipal'.

The argument is null. Supply a non-null argument and try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null. Supply a non-null argument and try the command again. at System.Management.Automation.ValidateNotNullAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics) at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags) --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at SourceCode.SharePoint2013.Common.Powershell.Runscript(String scriptfile, Collection`1& errors, CommandParameter[] commandParemeters) at SourceCode.SharePoint2013.Common.K2Application.SetupS2S()"

Symptoms

(4.16060.2000.3)InstallationAppDeployment.exe on a SharePoint Server to deploy K2 for SharePoint app.

 

The installation finished with the following error but the app installed into the App Catalog:

When installing the app the following error appears: "The specified application identifier 3308eaff-d056-4a32-9b1d-563f81bf06f9 is invalid or does not exist."

 

Ensure that the account used has all necessary rights as per:
http://help.k2.com/onlinehelp/K2blackpearl/ICG/4.7/Content/Prepare/SP/SP_Permissions_AppCat.htm

 

However quick look in ULS discovered that the tenant account did not have the same permissions on the App Catalog Database.

 

Resolution

To resolve this issue:

1. Fix the permissions for the App Catalog Database
2. Delete the K2 App on App Catalog and rerun the AppDeloyment.exe file.


0 replies

Be the first to reply!

Reply