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.
After using K2 Smartforms (4.16060.2000.3)\Installation\AppDeployment.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()"
(4.16060.2000.3)\Installation\AppDeployment.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:
However quick look in ULS discovered that the tenant account did not have the same permissions on the App Catalog Database.
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.