Before you start
Make sure you have registered the Cognite API and the CDF application in Microsoft Entra ID and set up Microsoft Entra ID and CDF groups to control access to CDF data.To perform the steps below, you need to be an administrator of Azure AD.
Step 1: Register an app in Microsoft Entra ID to use with Transformations
Sign in to Azure portal
Sign in to the Azure portal as an admin.
Select your tenant
If you have access to multiple tenants, use the Directory + subscription filter in the top menu to select the tenant in which you want to register an application.
Register the application
In the Register an application window, enter the app name, and then select Register.
Copy the Application ID
Copy and make a note of the Application (client) ID. This value is required for authentication when reading and writing data in Transformations.
Step 2: Create a group in Azure AD and add the registered app as its member
Create a group
Create a group.
Step 3: Create a group in CDF and link to the Microsoft Entra ID group
Add capabilities
Add
read and write capabilities accordingly for the CDF resources you want to read and write using transformations. For instance, if you are transforming the data in CDF RAW and writing the data to assets, you must add raw:read and asset:write capabilities.The minimum requirement is to add
projects:list, groups:list, transformations:read, transformations:write, and sessions:create.Configure OpenID connect
Open the OpenID connect tab and insert your
token_url. The token_url contains the ID of your Microsoft Entra ID tenant. To find your tenant ID, see this article.To schedule transformations, you must add the capability
sessions:create and set the token_url to maintain access to Transformations for an extended time period.To enable Run as current user for transformations, you must add the sessions:create capability.Link to Microsoft Entra ID group
Link the transformations group to a Microsoft Entra ID group:
- In the Source ID field, enter the Object Id for the AAD group exactly as it exists in AAD. You can use the same group Id for multiple transformations.
- In the Source name field, enter the name of the group in Azure AD.
Step 4: Run transformations
Verify that the configuration is successful by following the steps in Transform data.Transformations with the same Client ID run as the same user with the same access. This ID and the Client secret must be given before a user can schedule and run transformations.

