Table of contents
- Introduction
- Prerequisites
- How to generate service account token
- How to create a connector
- Setting up connector with different execution component
- Test & Persist
Introduction
This guide walks you through setting up an ILAP Analytics connector with the available authentication systems.
Prerequisites
Make sure you have these before starting to create connector in IA:
- Your user must have Setup Admin role to access connector settings
- Desktop Client needs to be installed on you machine and/or Autonomous Component needs to be set up for your tenant
- Authentication Details (Get this information from Tenant Admin)
- (Optional): Custom request headers required in the authentication process
- Generate Service account token
How to generate service account token
- Log in to Ilap Analytics web ui.
- Go to Admin → Generate new token → put the token name and set the expiry date
Must need "administrator" role in ILAP Analytics to access this section.
- Copy the generated token

Service token

How to create a connector
- Access the IDE web application and navigate to Setup > Connectors
- Click on the button +New Connector
- A modal will appear having the following required fields:
- Title, Host System, Execution component
- Title, Host System, Execution component
- A modal will appear having the following required fields:
- Provide a meaningful title.
- Select ILAP Analytics from Host System dropdown, which will populate the following fields in the modal
- Required: ILAP Analytics URL, Read & Write Batch Size, Authentication Type
- Optional: Manage Custom Request Headers
- Select the execution component, based on the selection different authentication type will be available. See next section to find out more about authentication types.
- Lastly add details to all of the required fields and hit create.
Please note each connector's URL must be unique otherwise error will be shown
Setting up connector with different execution component
Connectors can be created using either the Desktop Client or the Autonomous Component as the execution component. Each option supports different authentication types, which are explained in the following sections.
When using the Desktop Client as the execution component, the following authentication types are available:
- Service Account Token
- Azure AD Sign-In
While the Desktop Client offers multiple authentication methods, the Autonomous Component only supports Service Account Token.
Setting up connector with Service Account Token
Here is the setting you need to configure, and they are shown with red numbers and described below:
1 | Title | Title of the connector |
2 | Host System | ILAP Analytics |
3 | Execution Component | Desktop Client or Autonomous Component |
4 | ILAP Analytics URL | The URL of the ILAP Analytics host system where the connector will connect. |
5 | Read Batch Size | Number of entities to retrieve per batch. If your schedule has 10k+ activities, we highly recommend specifying a batch size. |
6 | Write Batch Size | Number of entities to create/modify/delete per batch. |
7 | Authentication Type | Service Account Token |
8 | Service Account Token | Service Token generated from ILAP Analytics web UI |
9 | Manage Custom Request Headers | Custom HTTP headers if required by the host system for API. More info here |
Setting up with AzureAD SignIn
- Go to IDE web
- Make sure the user has tenant setup role assigned
- Go to connector → new connector select Ilap Analytics from dropdown. Select AzureAd Signin as authentication type
Here is the setting you need to configure, and they are shown with red numbers and described below:
1 | Execution Component | Desktop Client |
2 | ILAP Analytics URL | The URL of the ILAP Analytics host system where the connector will connect. |
3 | Read Batch Size | Number of entities to retrieve per batch. If your schedule has 10k+ activities, we highly recommend specifying a batch size. |
4 | Write Batch Size | Number of entities to create/modify/delete per batch. |
5 | Authentication Type | Service Account Token |
6 | Authority | Service Token generated from ILAP Analytics web UI |
7 | Client ID | This is the unique identifier for your registered application in Azure AD |
8 | Scopes | Scopes define the permissions your connector is requesting |
9 | Manage Custom Request Headers | Custom HTTP headers if required by the host system for API. More info here |
The values to be put here are:
- Authority: https://login.microsoftonline.com/[YourTenantId]/v2.0
- ClientId: Client Id of the ILAP Analytics UI app registration
- Scopes: Typically: api://ClientId_of_Your_Ilap_Analytics_Api/user_impersonation User.Read offline_access (also can be found from from IA installation)
A sample configuration could look like below:
"Authority": "https://login.microsoftonline.com/e8ddb777-121f-4abc-a113-6b91d4b5dafc/v2.0", "ClientId": “b680058e-860b-4acc-80cb-89f8a1fd5a99”, "Scopes": “api://5f9d20ce-8ac7-4115-80a7-2f1baacd7bda/user_impersonation User.Read offline_access”
Note: Copying the example without changing it won’t work
If you don’t have access to your organization’s IT infrastructure, ask your it team (preferrably the person who setup ILAP Analytics in your organization) the following questions
- What is your organization tenant ID
- What is the Client id of the analytics ui app registration
- What is the application ID URI for the analytics api app registration
Test & Persist
After creating the connector:
For Desktop Client execution:
Open the IDE Desktop Client
Navigate to the Connectors tab
Click Test to verify connection
Click Persist to fetch schedules and host fields from P6
For Autonomous Component execution:
Test is done periodically via a background job, but it can be also done using desktop client.
Alternatively: Go to Setup > Connectors in the web app, and open the newly created connector and click Persist to force retrieval of schedules and host fields from P6. After persisting, reload the page after a few minutes to verify the updated connector status.
Probable reasons for failed test
- The desktop application user might not have network access to the Ilap Analytics API.
- The analaytics api might not be up and running
Connector Not working
- The connector was not properly configured with proper Azure ad configs.
Connector Invalid Authority
- The user might not have sufficient permission to access this app.
Checkout this article to find out more about test & persist
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article