Forum Discussion
Unable to create PowerBI - Azure Databricks connection with OAuth
- 1 year ago
Hi Matias1256 ,
Use PAT authentication it will be good for production applications. We have a 50k + users tenant I never seen anyone using Oauth authentication on service with databricks connections.
Thanks,
Sai Teja
Update Gateway: Ensure the VNet Data Gateway is updated to the latest version. OAuth via gateway requires recent updates.
Enable OAuth in Gateway:
- Go to Power BI Service → Manage Gateways.
- Edit your Databricks data source.
- Under Authentication method, select OAuth2.
- Click Sign in and authenticate with an Azure AD user who has access to Databricks.
Check Azure AD App Permissions:
- Ensure Azure Databricks Enterprise App has admin consent and necessary Graph/API permissions.
- The user must have access to both the workspace and cluster in Databricks.
Token Mapping (if custom DNS or Private Link used):
- Ensure your token is valid and not being blocked by custom DNS settings or network isolation.
- Check Azure Private Link and DNS resolution settings.
Re-created the gateway, but we still have the same error. I cannot find Azure Databricks Enterprise App so that might be the issue. We have SCIM provisioning and related Enterprise Apps in place.
- SaiTejaTalasila1 year ago
Super User
Hi Matias1256 ,
Use PAT authentication it will be good for production applications. We have a 50k + users tenant I never seen anyone using Oauth authentication on service with databricks connections.
Thanks,
Sai Teja