Deploy the K2 for SharePoint App to the App Catalog
Once the K2 for SharePoint Setup Manager has been run to update the K2 components, the App Deployment Wizard is run.
Installation steps
- After reading the App Deployment Welcome panel and choosing whether or not you want to analyze the SharePoint Configuration, click Next.
- On the K2 Server page, enter a K2 URL and click Next to continue. An example of a K2 server URL is: HTTPS://DLX:4444.
- Before App deployment, if you chose to do the health check, the App Deployment Health Check will show a green tick for items that passed the check, a red cross for failures and a blue i for information. You can export the results as a text file with the Export button. Selecting an item will show the results for that item in the right-hand panel with additional information.
If you chose not to analyze the SharePoint configuration, neither the pre or post health check will be shown. - Check the applicable Web Applications (or select all) that you want to deploy the App to, and then click Next.
- After the app is deployed, the App Deployment Health Check will run again (as mentioned, only if you chose to analyze the SharePoint configuration).
- When the Finished window appears, click the Finish button to complete the installation.
See the Troubleshooting topic for information relating to the App Deployment Wizard
For information on how to allow multiple
K2 environments (e.g. both a Production and a Development environment) to connect to a SharePoint Farm, see the KB article: KB001632.
App Deployment Health Check
If the Analyze SharePoint Configuration before looking for app catalogs checkbox on the Welcome panel is selected, the App Deployment installer proceeds with the pre- and post- deployment health checks for on-premises installs and upgrades. The health check verifies that the settings required by the K2 for SharePoint App are correctly configured in a SharePoint on-premises environment. If the checkbox on the Welcome panel is not checked, the installer attempts to deploy the app without performing the health check. If no errors are encountered, you may continue. If errors are encountered, the health check should be run by starting the App Deployment wizard again and selecting the checkbox.
The following checks are performed:
Pre-deployment Health Check | |
---|---|
Check | Description |
Execution User Required Permissions for Configuration Analysis Tasks | This outputs a bullet list of permissions required to run these checks and upload the app to an app catalog. |
Verify the App Catalogs and Permissions | Iterates all Web applications and searches for App Catalog site collections, checks that the user has contribute permissions, and SPShellAdmin Access to the web app’s database. |
Subscription Settings Service Application is available | Check if the Subscription Settings Service Application is provisioned on the Farm and the related service is running. |
App Management Service Application | Check if the App management Service Application is provisioned on the Farm and the related service is running. |
User Profile Tasks
|
|
App Domain Tasks
|
|
SharePoint Windows Services
|
|
Post-deployment Health Check | |
Check | Description |
Server to server High Trust
|
|
Metadata and OAuth Exchange over HTTP | Checks that OAuth exchange and Metadata exchange over HTTP is enabled if any site collections are running (non-SSL) Microsoft recommends SSL and so you need to set it explicitly |
Kerberos authentication and the new SharePoint app model | Warns users running Kerberos to ensure NTLM fallback is enabled, there is no actual script execution – it’s just a note the user needs to be aware of |
Upload Test App | Attempts to Install a Test App to the each of the selected web application’s root site collections' root web sites from the previous page (where you selected the app catalogs); then tries to download the page; and then uninstalls it. The Upload Test App will stop trying to execute after two minutes as this is a very time consuming task |
Additional Notes
All scripts are output to [executionDirectory]\Configuration Analysis Scripts.
For example: C:\Users\Administrator\Desktop\K2 for SharePoint [current version]\Installation\Configuration Analysis Scripts\
If any of the checks fail you are required to fix the configuration before continuing with the app deployment. It is recommended that you read the notes for each setting to understand what needs to be configured. The Health Check is there to notify you if your environment’s configuration is correct or if further configuration is required. For more information see the online KB article: SharePoint 2013 Health Check and App Deployment Script.
Finally, Add the App to your SharePoint Site.