Welcome to the Alteryx Knowledge Base
Created/Edited -
Set up the end-to-end process for connecting Alteryx One to an Azure Databricks workspace. OAuth 2.0 via Microsoft Entra ID (formerly Azure Active Directory) is the recommended authentication method, as it leverages existing organizational identities, eliminates long-lived credential management, and aligns with modern zero-trust security principles. Personal Access Token (PAT) authentication is also supported as a fallback for environments where OAuth 2.0 has not yet been configured. This guide covers both methods, with OAuth 2.0 as the primary path.
Alteryx One to an Azure Databricks workspace.
For an overview of how Alteryx works with cloud data warehouses, see Cloud data warehouses and Alteryx.
Detailed setup guides for other cloud data warehouses are available below.
Before beginning, confirm the following access and configuration requirements are in place:
Alteryx One workspace admin rights
- Admin access is required to configure integrations in the Alteryx One admin console, create connections to external data warehouses, and manage workspace-level settings like Private Data Storage.
Azure Admin PIM access
- Azure PIM access allows users to register client apps, for use in OAuth connectivity. Azure Admin access is needed to setup an Azure Databricks instance.
Azure Databricks workspace admin rights
- Databricks admin rights are needed to generate Personal Access Tokens (PATs), configure workspace settings, manage cluster permissions, and grant service account access to catalogs, schemas, and tables.
Private Data Storage (ADLS) is already configured in Alteryx One — if not, complete this first via the Alteryx admin console
- Alteryx One requires Private Data Storage to stage intermediate data when executing workflows against cloud data warehouses. Without ADLS configured, Alteryx cannot process data at scale or maintain compliance with data residency requirements.
Network access between Alteryx One and the Databricks workspace (check firewall/NSG rules if hosted in a private VNet)
- If your Databricks workspace uses Azure Private Link or is behind a network security group (NSG), you must allowlist the Alteryx One service IPs. Without proper network routing, authentication and query execution will fail.
A supported Databricks cluster runtime (refer to Alteryx compatibility matrix)
- Not all Databricks runtime versions are compatible with Alteryx's in-database processing. Using an unsupported runtime may result in query failures, performance degradation, or missing features like push-down optimization.
Note: OAuth 2.0 via Microsoft Entra ID is the recommended authentication method for this integration. If your organization is using PAT tokens, note that PAT tokens expire based on your Databricks workspace token lifetime policy — confirm the expiry period with your Azure admin before generating a token for production use. Consider migrating to OAuth 2.0 to eliminate token rotation overhead.
Admin Setup — Azure Databricks Workspace Provisioning
This section covers the initial Azure and Databricks setup required before you can configure the Alteryx One integration. If your Databricks workspace is already provisioned and configured, skip to the next section.
Part A — Azure Portal Setup
A1. Create a Databricks Workspace Resource (Optional if Azure Databricks instance not created)
- Log in to the Azure Portal → navigate to 'Create a resource'
- Search for 'Azure Databricks' and click 'Create'
- Configure the workspace:
-
- Subscription: Select your Azure subscription
- Resource Group: Create a new resource group or use an existing one (e.g., 'rg-databricks-prod')
- Workspace Name: Choose a descriptive name (e.g., 'dbw-alteryx-prod-eastus')
- Region: Select the region closest to your Alteryx One workspace for lowest latency
- Pricing Tier: Select Premium (required for features like Unity Catalog, IP Access Lists, and audit logging)
- Click 'Review + Create' → 'Create'
- Wait for the deployment to complete (typically 2–5 minutes)
Why? The Premium tier is recommended for production use because it includes Unity Catalog (centralized governance), audit logs (compliance), and IP access lists (security). Standard tier workspaces lack these enterprise features.
A2. Configure Network Security (Optional for enhanced data security)
If your organization requires private networking:
- In the Databricks workspace resource, navigate to 'Networking'
- Enable 'Secure cluster connectivity' (no public IPs for clusters)
- If using Azure Private Link:
-
- Create a Private Endpoint in your VNet
- Link it to the Databricks workspace
- Update your DNS to resolve the workspace FQDN to the private IP
- Configure Network Security Groups (NSGs) to allow Alteryx One service IPs (obtain these from Alteryx support)
Why? Private networking ensures that data never traverses the public internet. This is critical for organizations with strict compliance requirements (HIPAA, PCI-DSS, FedRAMP). However, it requires careful DNS and routing configuration.
A3. Assign Azure RBAC Permissions (Optional for Azure-level RBAC)
- Navigate to the Databricks workspace resource → 'Access control (IAM)'
- Grant the following roles to appropriate users/groups:
-
- Contributor: For Databricks workspace admins who need to manage clusters, notebooks, and settings
- Reader: For users who only need to view workspace metadata (not typical for Alteryx integration)
- If using a service principal for authentication, assign it 'Contributor' role at the workspace level
Why? Azure RBAC controls who can manage the Databricks workspace resource in Azure. This is separate from Databricks' internal permissions (covered in Part B). Without proper RBAC, admins cannot launch the workspace UI or configure settings.
A4. Create OAuth 2.0 Client Application with Microsoft Entra ID (Recommended)
OAuth 2.0 via Microsoft Entra ID is the recommended authentication method for connecting Alteryx One to Azure Databricks. It uses your organization’s existing identity infrastructure, eliminates the need to manage long-lived PAT tokens, and ensures access is automatically revoked when users leave the organization. Complete the following steps to configure OAuth 2.0. If your environment cannot support OAuth 2.0, refer to B6 for PAT-based authentication as a fallback.
Prerequisites for OAuth 2.0:
- Azure Single Sign-On (SSO) must be enabled for your Alteryx One workspace
- ADLS must be configured as Private Data Storage with the workspace storage directory set to adls
- Azure Databricks resource has been created
Step 1: Create an OAuth 2.0 Microsoft Azure Client App
- Sign in to the Microsoft Azure portal (portal.azure.com)
- Go to App registrations and select New registration
- Provide a descriptive application name
- Assign supported account types as Single tenant only – {tenant name}
- Configure the following redirect URLs:
-
- https://{aac_environment}/{workspace}/azure1/sso/azureCallback
- https://{aac_environment}/oauth2/callback
- Where {aac_environment} is your base Alteryx One URL (e.g., us1.alteryxcloud.com)
- Where {workspace} is your AlteryxOne workspace name
- If unable to add multiple URLs, navigate to this Resource and add multiple URIs in Authentication à Redirect URI configuration as Web type
- Register the application to create
- Go to Certificates & secrets under the newly created application and create a new client secret to assign a client secret to the OAuth 2.0 client
- Copy and securely store the Client Secret value (under Certificates & Secrets) and Client ID (under Overview) — this is Client Secret and Client ID for AlteryxOne OAuth 2.0 client setup
Step 2: Assign OAuth 2.0 client permissions to issue tokens with Azure Databricks scope
- Navigate to API Permissions of the OAuth 2.0 Client app
- Click Add a permission à APIs my organization users
- Enter AzureDatabricks (this option appears once you have an Azure Databricks workspace running in your Entra ID account created from Step A1 or if already created)
- Select Delegated permissions type and user_impersonation as permission scope, then Add permissions
- [Optional] Grant admin consent to this application, so tenant users could leverage OAuth 2.0 client without per-user approval, if preferred.
Step 3: Copy OAuth 2.0 client endpoints for AlteryxOne OAuth 2.0 client configuration setup
- Within the OAuth 2.0 app resource, navigate to Overview à Endpoints
- Copy OAuth 2.0 authorization endpoint (v2) – this is the Authorization URL for AlteryxOne OAuth 2.0 client setup
- Copy OAuth 2.0 token endpoint (v2) – this is the Token URL for AlteryxOne OAuth 2.0 client setup
Why? OAuth 2.0 with Entra ID enables user-based access management and eliminates the need to manage and rotate long-lived PAT tokens. It propagates individual user identities through to Databricks, improving auditability and aligning with zero-trust security principles. This is the preferred authentication method for organizations with strict identity governance requirements.
Part B — Databricks Workspace Configuration
B1. Launch the Databricks Workspace
- From the Azure Portal, navigate to the Databricks workspace resource
- Click 'Launch Workspace' — this opens the Databricks UI in a new tab
- Log in using your Azure AD credentials (single sign-on)
Why? The Databricks workspace UI is where you configure clusters, manage users, and generate access tokens. It is entirely separate from the Azure Portal — think of Azure as the infrastructure layer and Databricks as the application layer.
B2. Enable Unity Catalog (Recommended if not Automatically Enabled by Account Admin)
- In the Databricks workspace, navigate to 'Data' → 'Unity Catalog'
- If Unity Catalog is not enabled, follow the setup wizard:
-
- Create a metastore (one per region)
- Link your Azure Data Lake Storage Gen2 (ADLS Gen2) account as the root storage location
- Assign the metastore to your workspace
- Create a catalog for the Alteryx integration (e.g., 'alteryx_analytics')
- Create schemas within the catalog (e.g., 'staging', 'gold', 'ml_features')
Why? Unity Catalog provides centralized governance, fine-grained access control, and lineage tracking across all data assets. Without Unity Catalog, you are limited to legacy Hive metastore tables, which lack enterprise governance features and do not scale well across multiple workspaces.
B3. Configure a Cluster or SQL Warehouse
Alteryx can use either all-purpose clusters or SQL warehouses. SQL warehouses are recommended for production.
- For SQL Warehouse (recommended):
-
- Navigate to 'SQL Warehouses' → 'Create SQL Warehouse'
- Select 'Serverless' for instant compute with no cold-start delays
- Choose a cluster size (2X-Small to 4X-Large based on expected workload)
- Enable auto-stop after 10 minutes of inactivity to minimize costs
- Click 'Create'
- For All-Purpose Cluster (alternative):
-
- Navigate to 'Compute' → 'Create Cluster'
- Select a Databricks runtime version supported by Alteryx (check the compatibility matrix)
- Choose node types and autoscaling parameters
- Enable automatic termination after 60 minutes of inactivity
- Click 'Create Cluster'
Why? SQL Warehouses are optimized for BI and analytic queries, provide instant compute (serverless), and scale automatically. All-purpose clusters are more flexible but have cold-start delays (3–5 minutes) and require manual scaling configuration. For Alteryx workloads, serverless SQL Warehouses reduce latency and operational overhead.
B4. Generate a Personal Access Token (PAT) – Fallback Authentication
- In the Databricks workspace, click your username (top-right) → 'Settings'
- Navigate to 'Developer' → 'Access Tokens'
- Click 'Manage' → 'Generate new token'
- Enter a comment (e.g., 'Alteryx One Integration - Production') and set a lifetime:
-
- Recommended: 90 days for production (align with your token rotation policy)
- For testing: 7–30 days
- Click 'Generate' and copy the token immediately — it will not be shown again
- Store the token in a secure secrets manager (Azure Key Vault, HashiCorp Vault, or AWS Secrets Manager)
Why? PAT authentication is supported as a fallback for environments where OAuth 2.0 has not yet been configured. PATs are long-lived credentials that must be actively managed — rotate them regularly, store them in a secrets manager, and never embed them in workflows or source control. Where possible, prefer OAuth 2.0 (see B7) to avoid the operational burden of token rotation and the security risk of long-lived credentials.
Note: If your organization has a token lifetime policy (e.g., all tokens expire after 90 days), set a calendar reminder to regenerate the token before expiry. Expired tokens will cause all Alteryx workflows to fail.
Integration Setup — Connecting Alteryx One to Databricks
Step 1 — Retrieve Databricks Connection Details
1a. Get the Workspace Server URL
Log in to your Azure Databricks workspace. The server URL follows this format:
https://adb-<workspace-id>.<random-number>.azuredatabricks.net
You can find this in the Azure Portal:
- Navigate to the Azure Portal → Resource Groups → select your Databricks resource
- Open the Databricks workspace
- Click 'Launch Workspace' — the resulting browser URL is your server hostname
- Copy the full URL up to and including .azuredatabricks.net (exclude any trailing path)
Why? The workspace URL is the base endpoint for all Databricks API calls. Alteryx uses this URL to authenticate, list clusters, submit queries, and retrieve results. Without the correct URL, authentication will fail regardless of whether you are using OAuth 2.0 or a PAT token.
Warning: Do not use the Azure Databricks 'Account' URL (accounts.azuredatabricks.net). Use only the workspace-specific URL shown above.
Step 2 — Configure Azure Databricks in Alteryx One
2a: Create an OAuth 2.0 Client for Databricks in Alteryx One
OAuth 2.0 via Microsoft Entra ID is the recommended authentication method. If your admin has configured OAuth 2.0 for Databricks (see Admin Setup section A4), follow these steps. If your environment does not yet support OAuth 2.0, skip to Step 2b for PAT-based authentication.
- Log in to your Alteryx One workspace
- Navigate to Workspace Admin (top-right menu or admin panel)
- Confirm that 'Private Data Storage' is already configured. If the ADLS tile shows a warning or unconfigured state, set this up before proceeding
- Select Workspace Admin → OAuth 2.0 Clients
- On the OAuth 2.0 Clients page, select ‘New’
- Configure the following fields for the new client:
-
- Name: enter a descriptive name for the client
- Type: select databricks
- Client ID: enter the Client ID from Section A4, Step 1.8
- Client Secret: enter the Client Secret from Section A4, Step 1.8
- Authorization URL: enter from Section A4, Step 3.2
https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/authorize (replace {tenantID} with your Azure Tenant ID)
-
- Token URL: enter from Section A4, Step 3.3
https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token (replace {tenantID} with your Azure Tenant ID)
-
- Scopes: 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d/.default offline_access
- Access Token Expires In: 3599999
- Refresh Token Expires In: 7775999999
- Select Create
Why? Alteryx One uses Private Data Storage (ADLS) to stage intermediate data when executing workflows against Databricks. This ensures that Alteryx never pulls large datasets into its own compute layer, which would violate data residency policies and degrade performance. All heavy lifting happens inside Databricks; ADLS is just the handoff zone.
2b. Add a New Databricks Workspace Connection
- In the Workspace Admin, go to Data Warehouses à Databricks
- Click 'New Workspace'
- Enter the following values:
|
Field |
Value / Notes |
|
Service URL |
Paste the full Databricks workspace URL from Step 1a |
|
OAuth 2.0 |
Select the OAuth 2.0 Client created from step 2a |
|
Personal Access Token (PAT) — Fallback only |
Only required if not using OAuth 2.0. Paste the PAT token (from secrets manager or Step B4) |
|
Workspace Name |
Enter a descriptive name (e.g., 'Prod Databricks') |
- Click the 'Authenticate' button — a success message should appear within a few seconds
- If authentication fails, refer to the Troubleshooting section below before retrying
Why? The 'Authenticate' button tests connectivity by making a test API call to Databricks (e.g., GET /api/2.0/clusters/list). If this fails, it indicates a network, token, or URL issue. This is a critical pre-flight check before proceeding with configuration. Check existing OAuth 2.0 client app permissions in Azure Portal for correct scope.
2c. Complete Workspace Configuration
- After successful authentication, the workspace configuration form will expand
- Select the default cluster or SQL warehouse to use for Alteryx workflows (from step B3). Else, create new Design Time and Run Time configurations to match AlteryxOne utilization needs.
- Configure catalog and schema defaults, if using Unity Catalog
- Save the configuration
Why? Specifying a default cluster or SQL warehouse simplifies workflow authoring — users do not need to manually select compute each time. For organizations using Unity Catalog, setting default catalog and schema values ensures consistent data governance and reduces the risk of accidental cross-catalog queries.
Note: Alteryx One will test connectivity each time a workflow runs. If the Databricks cluster is in a terminated state, it will auto-start — however, this may add 3–5 minutes to the first run. Consider using a SQL Warehouse (serverless) to avoid cold-start delays.
2d. Configure OAuth 2.0 Authentication (Recommended)
- On the Alteryx One landing page, select Connections from the global header
- Select Create Connection and search for Databricks
- Enter a unique Connection name and select an available Databricks workspace under Workspace Name
- When prompted for Authorization Method, select the OAuth 2.0 client configured by your admin
- Select Authenticate to verify the OAuth 2.0 flow completes successfully — you may be prompted to sign in with your Entra ID credentials in a browser window
- Select Create to save the connection
Why? Using OAuth 2.0 instead of a PAT means users authenticate with their own Entra ID credentials, which Alteryx passes to Databricks. This ensures access is automatically revoked when a user leaves the organization and eliminates the risk of shared or stale PAT tokens being exploited.
Step 3 — Verify the Integration
After saving, perform the following verification steps before using the integration in production:
- In Alteryx One, open or create a workflow that reads from Databricks leveraging LiveQuery
- Run the workflow with a small set of tools
- Confirm rows are returned and no authentication or connectivity errors appear in the job log
- Check Databricks Workspace Query History for AlteryxOne job details
- Additionally, review the Alteryx job log for any warnings about token expiry, OAuth session issues, or cluster state
Why? Running a verification workflow tests the entire end-to-end integration: authentication, network routing, permission grants, compute availability, and data retrieval. This catches misconfigurations before they impact production workloads and user trust.
Tip: Schedule a recurring test workflow that runs a lightweight query weekly. This acts as an early-warning system for authentication issues (expired PAT tokens or lapsed OAuth sessions), cluster misconfiguration, or connectivity problems before they impact production workflows.
Troubleshooting
Common issues and resolutions:
|
Issue |
Resolution |
|
PAT authentication fails at ‘Authenticate’ step |
Verify the PAT token is copied correctly with no leading/trailing spaces. Confirm the workspace URL is the workspace-specific URL (not the account URL). Check that the PAT has not expired. If possible, consider switching to OAuth 2.0 authentication (see B7) to avoid future token management issues. |
|
OAuth 2.0 authentication fails or browser redirect does not complete |
Confirm Azure SSO is enabled for your Alteryx One workspace. Verify the redirect URLs in the Azure App Registration exactly match your Alteryx One environment URL. Validate OAuth 2.0 client app in Azure has correct permissions (section A4). Ensure the OAuth 2.0 client has been registered in Alteryx One under Profile → Workspace Admin → OAuth 2.0 Clients. Check that the user attempting to connect has a valid Entra ID account and permissions in Databricks. |
|
‘Private Data Storage not configured’ error |
Set up ADLS as private data storage in the Alteryx admin console before attempting Databricks configuration. See the ADLS setup documentation in Related Links. |
|
Connection succeeds but workflows fail to run |
Confirm the Databricks cluster/warehouse is running and accessible. Check that the Alteryx service account has sufficient Databricks permissions (at minimum: CAN USE on the cluster/warehouse, SELECT on target tables). |
|
Cluster terminates unexpectedly between runs |
Review the Databricks cluster auto-termination settings. For production workloads, consider using a SQL Warehouse with serverless compute to avoid cold starts. |
|
PAT token expired — workflows stop running |
Regenerate a new PAT in Databricks and update the Service URL / PAT field in the Alteryx admin console. Set a calendar reminder before the token expiry date. To avoid recurring token expiry issues, consider migrating to OAuth 2.0 authentication (see B7), which handles token refresh automatically. |
|
Unity Catalog permission errors |
Ensure the service account has USAGE on the catalog and schema, and SELECT on the target tables. Run SHOW GRANTS on the relevant objects in Databricks to verify. |
|
Network timeout or connection refused errors |
Check firewall/NSG rules. If using Private Link, confirm DNS resolution and private endpoint configuration. Verify that Alteryx One service IPs are allowlisted. |
|
Query performance is slow |
Confirm that push-down optimization is enabled in the Alteryx workflow. Check Databricks query history to verify queries are executing in-database (not pulling data to Alteryx for processing). |
Security Considerations
- Use OAuth 2.0 via Microsoft Entra ID as the primary authentication method — it eliminates long-lived credentials, propagates individual user identities to Databricks, and ensures access is automatically revoked when users leave the organization
- If PAT authentication is used as a fallback, rotate PAT tokens on a schedule aligned with your organization’s credential rotation policy (recommended: every 90 days) and store them in a secrets manager (Azure Key Vault, HashiCorp Vault) — never in plain text or source control
- For PAT-based setups, use a dedicated Databricks service principal or service account tied to the integration — avoid personal user credentials and apply the principle of least privilege
- Enable Azure Private Link for the Databricks workspace if data must not traverse the public internet
- Audit Alteryx One access logs periodically to confirm only authorized users are executing Databricks-connected workflows
- Enable Unity Catalog audit logging to track all data access from Alteryx workflows — this provides lineage and access visibility regardless of which authentication method is in use
- Periodically review Azure App Registration settings for the OAuth 2.0 client, ensuring client secrets have not expired and redirect URLs remain accurate
Related Links
-
Databricks & Alteryx Guide — Alteryx Community KB
-
Access Databricks data with native OAuth — Alteryx Community KB
-
ADLS as Private Data Storage — Alteryx Online Documentation
-
Databricks Admin — Alteryx Online Documentation
-
Azure Databricks Admin Setup — Alteryx Online Documentation
-
Unity Catalog Best Practices — Databricks Documentation
-
Databricks SQL Warehouse Overview — Databricks Documentation
Cloud data warehouse setup guides
Setting up Alteryx One & Google BigQuery |
Setting up Alteryx One & Databricks on AWS |
Setting up Alteryx One & Snowflake on AWS |
|
Connect Alteryx One to Google BigQuery using Google Cloud Storage (GCS) for private data storage, enabling push-down processing and governed data access. |
Connect Alteryx One to Databricks on AWS using a Personal Access Token (PAT) and Amazon S3 for private data storage. |
Connect Alteryx One to Snowflake on AWS using Amazon S3 for private data storage, enabling push-down processing and governed data access. |