Configure access management
This article outlines the steps to set up a Microsoft Entra ID (ME-ID) tenant and a Cognite Data Fusion (CDF) project to allow users to sign in to Cognite apps with their organizational ID.
When you sign up with Cognite, you'll receive information about the environment where your CDF project(s) will be hosted. Follow the instructions in this article to configure the necessary groups, applications, and URLs in your Entra ID tenant. You will also receive a list of Cognite or partner users to add as guest users to your Entra ID tenant to help set up the project.
To configure the CDF project to manage access to your data securely, we also ask you to provide us with the necessary information about your Entra ID tenant. Collect the information as you go through the steps, and submit the information to Cognite when you have completed the steps.
Make sure that you submit client secrets through a secret and encrypted channel, for example via Yopass.
Step 1: Collect the Entra ID tenant information
To connect the CDF project to your Entra ID tenant, we need to know the domain name and ID of the tenant.
-
Sign in to the Azure portal as an admin.
-
If you have access to multiple tenants, in the top menu, use the Directory + subscription filter to select the correct tenant.
-
Search for and select Microsoft Entra ID.
-
On the Overview page:
- Copy and make a note of the Primary domain.
- Copy and make a note of the Tenant ID.
Step 2: Create groups in Entra ID to link to CDF groups
Groups in CDF define what capabilities members (users or applications) have to work with CDF data. To manage the group membership from Entra ID, you link and synchronize the CDF groups to groups in Entra ID.
It is common to have at least two CDF projects — one for production and one for testing. The two projects will share the same AAD, but to separate the access rights, you need to create different groups for each project.
- Sign in to the Azure portal as an admin.
- If you have access to multiple tenants, in the top menu, use the Directory + subscription filter to select the correct tenant.
- Search for and select Microsoft Entra ID.
- On the Overview page, select Add > Group.
- For each row in the table below, create a security group and copy and make a note of the Object Id for each group.
Group name | Group description |
---|---|
CDF-Prod-Admin | Administration of the CDF project. |
CDF-Prod-ReadWrite | Read and write access to all data in the project. Access to data contextualization and data governance capabilities. |
CDF-Prod-ReadWrite-Dataset | Same as CDF-Prod-ReadWrite, but scoped on specific dataset. |
CDF-Prod-ReadWrite-Site2 | Same as CDF-Prod-ReadWrite, but scoped on specific site. |
CDF-Prod-ReadOnly | Read access to data in the project. Used for people developing or using dashboards and Cognite applications. |
CDF-Prod-ReadOnly-Dataset | Same as CDF-Prod_ReadOnly, but scoped on specific dataset. |
CDF-Prod-ReadOnly-Site2 | Same as CDF-Prod-ReadOnly, but scoped on specific site. |
CDF-Test-Admin1 | Administration of the Cognite Data Fusion project. |
CDF-Test-ReadWrite1 | Read and write access to all data in the project. Access to data contextualization and data governance capabilities. |
CDF-Test-ReadOnly1 | Read access to data in the project. Used for people developing or using dashboards and Cognite applications. |
1 Only if you will be using a dedicated test environment.
2 For customers who uses sites.
For a seamless first-time sign-in for users, we recommend creating a CDF group with capabilities to view and use data and apps. Then, include all user accounts in the group.
CAUTION: All authenticated users automatically become members of the group and are granted all the capabilities assigned to the group. Make sure that the group has only the minimum required capabilities to access the necessary applications and data.
Step 3: Add guest users to the Entra ID groups
You have received a list of Cognite or partner users who will help configure the CDF project. Add them as guest users to your Entra ID tenant:
- Add the solution architect(s) (often the primary technical contact points) to CDF-Prod_Admin, CDF-Test-Admin, CDF-Prod_ReadWrite, and CDF-Test-ReadWrite.
- Add other Cognite or partner users to CDF-Prod_ReadWrite and CDF-Test-ReadWrite.