Set up Azure AD and CDF groups to control access
Instead of assigning capabilities to individual users and applications, you use groups in Cognite Data Fusion (CDF) to define what capabilities members (users or applications) have to work with different CDF resources. You link and synchronize the CDF groups to user groups in your identity provider (IdP), for instance, Microsoft Entra ID (formerly Azure Active Directory).
For example, if you want users or applications to read, but not write, time series data in CDF, you first create a group in your IdP to add the relevant users and applications. Next, you create a CDF group with the necessary capabilities and then link the CDF group and the IdP group.
This flexibility allows you to manage and update your data governance policies quickly and securely. You can continue to manage users and applications in your organization's IdP service outside of CDF.
Step 1: Create a group in Microsoft Entra ID
Make sure that you have already registered the Cognite API and applications in Microsoft Entra ID.
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 tenant in which you want to register an application.
Search for and select Microsoft Entra ID.
Under Manage, select Groups > New group.
In the New Group window, select Security as the Group type, enter a Group name, and then select Create.
Select the group to open it, and then copy and make a note of the Object Id.
Step 2: Create a group in CDF and link it to the Microsoft Entra ID group
Sign in to the CDF portal application as an admin.
In the top menu, select Manage & Configure > Manage access.
On the Access management page, select Groups > Create group.
Enter a Unique name for the group and Add capabilities.
In the Source ID field, enter the Object Id for the Microsoft Entra ID (ME_ID) group exactly as it exists in ME-ID. It will link the CDF group to an Azure AD group.
Step 3: Add members to the Microsoft Entra ID group
- In Microsoft Entra ID, add members (users or applications) to the group.
The members of the Microsoft Entra ID group automatically become members of the linked CDF group with the associated capabilities.