You can package and deploy K2 Cloud solutions using the Package and Deployment tool available for K2 Cloud. Use the steps in this article to download, log in, and use the tool.
Prerequisites
The following items must be in place before you can use the K2 Cloud Package and Deployment (P&D) tool:
- K2 Operations must add your public IP addresses to the Azure Network Access Control List (ACL)
- Open the port range 25683 – 26707 in your firewall
- You are a member of the Package and Deployment role. See K2 Cloud User Guide - Roles for more information.
Steps
Use the following three high-level steps to download, install and run the Package and Deployment tool.
Step 1: Grant Consent
If you do not grant consent using a Global/Tenant Administrator account you may see a "Primary Credential Not Authenticated" error. To do this, follow these steps:
- Go to K2 Management and click Integration > API
- Click the Setup AAD Consent button as shown in the following figure:

- You are redirected to login to AAD. Provide your admin username and password.
- Click Accept on the consent page which then redirects you to the Authorization Successful message. Close this page.
Step 2: Download Package and Deployment Tool
Use the following steps to download the P&D tool.
- Browse to your Management site and then append 'remote' to the end of the management URL. For example, https://{YourK2CloudID}.onk2.com/Management/remote or https://{YourK2CloudID}.appit.com/Management/remote
Step 3: Log in to AAD and Create or Deploy a Package
Log in using a member of the Package and Deployment role, and then create or deploy a package.
If you do not see this login prompt, Windows auto-login is using your current account to automatically log in. You can try disconnecting or signing out of this account using the
Start >
Settings >
Accounts >
Email & app accounts or by managing your profile at
https://account.activedirectory.windowsazure.com/r/#/profile.
- Depending on your current version, you may see one of the following prompts to log in.


- Choose your environment and then either create or deploy a package. For more information about creating and deploying packages, see K2 Package and Deployment.
