Skip to main content
Follow the steps below to register an app in Entra ID to use with the Python SDK, Jupyter notebooks, or Postman. You can use the same steps to register desktop apps and one-off/short-term scripts. Users can sign in using their browser and use the acquired token in for example Jupyter.
1

Navigate to app registrations

Sign in to the Azure portal as an admin.If you have access to multiple tenants, select the tenant in which you want to register an application.Search for and select Entra ID, then under Manage, select App registrations > New registrations.
2

Configure the application registration

In the Register an application window, configure the following settings:
  1. Enter a name for your application.
  2. Select the supported account types.
  3. Under Redirect URI (optional), select Public client/native (mobile & desktop) and specify the redirect URI:
    • Jupyter/Python SDK: http://localhost:53000
    • Postman: https://oauth.pstmn.io/v1/callback
Register an application in Entra ID with redirect URI configuration
Select Register to create the application.
3

Configure authentication settings

Select Authentication to add more redirect URIs and optionally enable device code flow.Configure additional authentication options as needed for your use case, then select Save.
Add redirect URIs and configure device code flow in Entra ID
Enable device code flow if users need to authenticate from environments without a browser, such as terminals or remote servers.
4

Configure API permissions

Configure the required permissions for your application to access CDF.
  1. Select API permissions. The Microsoft Graph User.Read permission is already selected by default.
  2. Select Add a permission.
  3. Under APIs my organization uses, select the CDF API for your cluster (for example, westeurope-1).
  4. For Delegated permissions, select the required permissions:
    Delegated permissions filter the permissions a user has based on group memberships but don’t add any permissions. Learn more about access token scopes.
  5. Select Add permissions.
API permissions showing user_impersonation scope configured
5

Grant admin consent

Select Grant admin consent for… and confirm that you want to activate the new permissions.
Your application is now registered and configured for use with the Python SDK, Jupyter notebooks, or Postman.