Welcome to the Alteryx Knowledge Base

Access Azure Databricks data with your Entra ID using single tenant application
user

Created/Edited - 5/8/2026 by Renat Ishmukhamedov | Alteryx

How To

Access Azure Databricks data with Entra ID identities from Alteryx Designer using single-tenant application

Environment
  • Alteryx Designer
  • Azure Databricks
Prerequisites
  • Entra ID (Azure AD) admin access
Procedure

OAuth is a widely accepted industry standard for authorization. This flow is suitable for applications that need to access Databricks on behalf of users. In this specific scenario, organization can manage access to a group of services via EntraID.

 

2ac12196-f29f-4389-aba8-891224fa2e6f.png

 

EntraID Databricks OAuth Diagram (U2M Flow)

 

Pros

This is the industry standard for the User to Machine (U2M) authentication. It relies on the user to explicitly grant their consent to third-party applications to access Databricks data on their behalf. The flow results in a short-lived access token, used to establish connection to Databricks, which mitigates the risk of token misuse. Additionally, it allows organizations to manage all identities from within one interface assigning users to groups of services at once. Note, Alteryx also requires the EntraID OAuth client to issue a refresh token that is used to obtain a new access token.

 

Cons

Management - this flow requires additional configuration for Databricks environments running on AWS to establish trust between your EntraID tenant and Databricks instance.

EntraID tenant configuration - this flow might require additional configuration of your EntraID tenant to permit the use of Alteryx-managed multi-tenant application, addition details can be found in the configuration guide - link provided below.

Refresh token lifetime - to run automated workflows, organizations are required to configure a reasonable lifetime for refresh tokens.

Internal policies - organizations might have internal mandate to only rely on the user identities when a workflow execution is triggered by an individual, making this authentication not suitable for automated runs. The M2M, machine-to-machine, OAuth flow can be used for automated runs, instead.

Detailed instructions covering how to setup this flow for your Databricks users and create a connection from Alteryx can be found below.

 


 

Alteryx Desinger allows users leverage EntraID, formerly Azure AD, as identity provider to access your Azure Databricks data. To access Azure Databricks data with Azure AD accounts, admins are required to complete the following steps:

  • Configure a single-tenant application in your EntraID environment that will issue identities with required

  • Collect authentication details required to setup a new connection between Alteryx Designer and your Azure Databricks instance;

  • Use the OAuth client to connect to a Databricks workspace;

Configure a single-tenant application in your EntraID environment that will issue identities with required

Firstly, let’s start by registering a new singletenant OAuth application in your Entra ID tenant. As Entra ID account admin, perform the following steps:

  • Navigate to Entra ID console and select app registrations;

 

 

  • Click New registration to create a new OAuth client in your Entra ID;

 

 

 

  • In the next view complete the following steps:

    • Provide a descriptive application name

    • Assign applicate with type - single tenant

    • Select Web and assign the redirect url to http://localhost. Save the redirect url value, you will need it in further configuration.

    • Click register to create the application;

 

 

  • Once the app has been created:

    • Navigate to Certificate & secrets tab to the left of the screen;

    • Click new client secret to assign a new client secret to the OAuth client, provide the client secret with a descriptive name and click Add;

 

 

    • Save the client secret value, you will need it in the next steps;

 

 

 

    • Next, navigate to the overview page of your the application in EntraID, copy and save the client id value, you will need it in the next steps:

 

 

    • Finally, let’s assign our OAuth client the permissions to issue tokens with Azure Databricks scope. to do this, complete the next steps:

      • Navigate to API permissions tab of your Entra ID application;

      • Click add permissions to assign the application with permissions;

      • Navigate to APIs my organization uses and select AzureDatabricks. Note: to see this option, you must have Azure Databricks workspace running in your Entra ID account;

 

 

      • Select Delegated permission type and user_impersonation as permissions scope; 

 

 

      • Click add permissions to save the configuration;

    • Copy the permission value and save it, this will be know as your OAuth client scope value;

 

 

    • Finally, grant admin consent to this application, so that your tenant users could use it without requesting individual approvals; 

 

 

    • Upon granting consent, you shall see the following confirmation appear next to the scope; 

 

 

By this point, we have already collected the following inputs:

  • Client id;

  • Client secret;

  • Scope value

The only remaining input you need to collect to be able to authenticate with our newly created application the id of your EntraID tenant.

 

Use the OAuth client to connect to a Databricks workspace

You can access your data in Databricks from Alteryx Designer using your Azure AD account.

As a user:

  • Add input or output tool, check “Use Data Connection Manager (DCM)” box and select Databricks or Databricks Unity Catalog from the list of available data sources in Alteryx Designer;

  • Select Quick Connect, provide your Databricks instance details;

 

 

  • Next, create new credential and select Azure AD - private as authentication method;

    Provide required inputs using the values we collected above, e.g:

      • tenant id;

      • client id;

      • client secret;

      • scope;

    • Save the connection;

    • Click connect.

    Upon clicking the connect button, you will be redirect to Entra ID authentication page and prompted to sign in with your profile. Once connected, you shall be able to access your Databricks data.

Was this article helpful?