Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
We are trying to create a dataflow using Azure Databricks connector with OAuth login (AAD) and MS on-premise Data Gateway.
The steps we follow:
1. Create a dataflow
2. Select Azure Databricks as connector
3. Add hostname and HTTP path
4. Select our MS on-premise Data Gateway
5. Use Azure Active Directory as authenticator
6. Sign In
When we click sign in we get the below error:
Unable to create connection using an organizational account, please check to see if the data source path is correct and that the data source supports using an organizational account. (Session ID: 59340d90-2f52-4721-ace3-2056eab6a34f, Region: europe)
When we try without the MS Data Gateway it works.
When we try with the MS Data Gateway and with PAT authentication it works.
What do we miss here? Is there any missing MS Data Gateway configuration?
Additionally we try to create a connection directly on PBI service as per below:
1. Go to settings
2. Select Manage Connections and Gateways
3. Create New
4. Select on-premises connections
5. Select Azure Databricks as connector
6. Input the hostname and HTTP path
7. Select the MS on-premise data gateway
8. Select Azure Active Directory as authentication method
9. Click Edit Credentials
We get the below error
What do we miss here?
If I create a cloud connection with automatic proxy discovery enabled it works.
Regards,
Konstantinos
Solved! Go to Solution.
Hi @kkitsara ,
Thanks again for your patience and for providing more details! I’d be happy to clarify how to check if the On-Premises Data Gateway is set up to support OAuth authentication and what configurations might be needed.
Not all data sources support OAuth passthrough when using the On-Premises Data Gateway.
Power BI Data Gateway – Supported Data Sources
If OAuth authentication is not supported for Azure Databricks via the On-Premises Data Gateway, you may need to use Personal Access Token (PAT) or Service Principal authentication instead.
Since OAuth authentication requires Azure Active Directory (AAD) login, the On-Premises Data Gateway must be able to connect to Azure AD endpoints without network restrictions.
If your organization uses a proxy, make sure the gateway is configured to work with it:
How to Configure Proxy for On-Premises Data Gateway
If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi @kkitsara ,
Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.
Upon reviewing the provided information, below steps may assist you addressing the issue.
Please refer the solved link for more understanding, this might help you.
Solved: PBI Gateway to Azure Databricks Connection Error: ... - Microsoft Fabric Community
If this post helps, please give us Kudos and consider Accept as a solution to help the other members find it more quickly.
Thanks for your reply.
Have some follow-up queries on your bullet points.
Thanks for assisting.
Regards,
Kostas
Hi @kkitsara ,
Thank you for your follow-up questions. I'm happy to provide more details to help you resolve the issue.
Hope this helps, if so,please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Hello @v-pagayam-msft
Thanks again for your follow-up.
Points 1 and 2 are already checked.
Also our App registration used for OAuth integration is on the same account with PBI service.
Databricks is on AWS, but we are using Azure Databricks connector (as suggested on MSFT documentation)
Could you please clarify more about point 3?
Check the gateway is set up to support OAuth authentication. This might involve configuring the gateway to use the correct authentication method and ensuring it can communicate with Azure AD.
What kind of configuration is needed?
Regards,
Kostas
Hi @kkitsara ,
Thanks again for your patience and for providing more details! I’d be happy to clarify how to check if the On-Premises Data Gateway is set up to support OAuth authentication and what configurations might be needed.
Not all data sources support OAuth passthrough when using the On-Premises Data Gateway.
Power BI Data Gateway – Supported Data Sources
If OAuth authentication is not supported for Azure Databricks via the On-Premises Data Gateway, you may need to use Personal Access Token (PAT) or Service Principal authentication instead.
Since OAuth authentication requires Azure Active Directory (AAD) login, the On-Premises Data Gateway must be able to connect to Azure AD endpoints without network restrictions.
If your organization uses a proxy, make sure the gateway is configured to work with it:
How to Configure Proxy for On-Premises Data Gateway
If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hello,
I am using Azure Active Directory for OAuth from Azure Databricks Connector
I am not using any PAT and any service principal.
The idea is to sign in with my user identity and read only the data I have access.
The Databricks account is on AWS and as said dataflow authentication works without Data Gateway but does not work with Data Gateway.
Regards,
Kostas
Is the PAT token from the same account you are using for oauth? What type of account are you using for Auth?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
36 | |
27 | |
27 | |
25 |
User | Count |
---|---|
62 | |
53 | |
30 | |
24 | |
23 |