The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Community
For some time now I had several dataflows getting data from databricks using this method:
let
Source = Databricks.Query(
"<host>",
"httppath",
[Catalog = null, Database = null, EnableAutomaticProxyDiscovery = null]
),
part1 = "SELECT
...",
myquery = Source(part1)
in
myquery
Since this week, all of the sudden the method no longer works.
And I get this error message.
Anyone else has this issue?
Solved! Go to Solution.
Hi @pedro4lmeida05 ,
Sorry to hear you’re running into this issue. Since the method was working previously and suddenly stopped, here’s a step-by-step troubleshooting guide that addresses both recent platform changes and common root causes for the "Dataflow-Databricks.Query()" failure with the error:
Expression.Error: The provided options are not valid.
1. Double-check your credentials and tokens
2. Permissions
3. Review changes in Dataflow Gen2 and connector updates
4. Query options and parameters
5. Test the query in Power BI Desktop
6. Recent Service Updates
7. Consider alternative approaches
Summary checklist:
If you try these and the problem persists, please share the exact M code after your latest changes and specify whether you’re using Dataflow Gen1 or Gen2. That will help us dig deeper!
Let us know how it goes. Happy to help further if you need more targeted troubleshooting.
Best,
Burak
Hi @pedro4lmeida05 ,
Sorry to hear you’re running into this issue. Since the method was working previously and suddenly stopped, here’s a step-by-step troubleshooting guide that addresses both recent platform changes and common root causes for the "Dataflow-Databricks.Query()" failure with the error:
Expression.Error: The provided options are not valid.
1. Double-check your credentials and tokens
2. Permissions
3. Review changes in Dataflow Gen2 and connector updates
4. Query options and parameters
5. Test the query in Power BI Desktop
6. Recent Service Updates
7. Consider alternative approaches
Summary checklist:
If you try these and the problem persists, please share the exact M code after your latest changes and specify whether you’re using Dataflow Gen1 or Gen2. That will help us dig deeper!
Let us know how it goes. Happy to help further if you need more targeted troubleshooting.
Best,
Burak
Hi @pedro4lmeida05 ,
Could you please confirm whether you have resolved issue. If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. This will be helpful for other community members who have similar problems to solve it faster.
If we don’t hear back, we’ll go ahead and close this thread.Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.
Thank you.
I've been having this issue as well. I only noticed it because I wanted to edit one of my dataflows that is using this method. The dataflow has been refreshing fine, but if I go in to edit it, it shows me the same error you're getting, so effectively I can't make any changes to it. Seems very strange, especially since the exact same query works fine, if I copy-paste it into Power BI Desktop.
Have you had any luck troubleshooting this?
Hi @pedro4lmeida05 ,
Thank you for reaching out to the Microsoft Fabric Community. Also thank you @DP700_Pro for your inputs.
To resolve the issue, please check if your Personal Access Token (PAT) for connecting with Databricks is still valid. If it has expired, regenerate the token from the Databricks workspace and update it in your dataflow credentials. Additionally, ensure you have the necessary permissions (Can Use or Can Manage) on the Databricks cluster and read access to the catalog and database.
It is also recommended to migrate to Dataflow Gen2 in Microsoft Fabric, as it supports Azure Databricks connectors.
Please refer the following documentations for your better undersatnding:
Azure Databricks personal access token authentication - Azure Databricks | Microsoft Learn
Azure Databricks connector overview - Microsoft Fabric | Microsoft Learn
If the issue persists, try disabling the EnableAutomaticProxyDiscovery option in your query if it’s set to true.
I hope my suggestions give you good idea, if you need any further assistance, feel free to reach out.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @pedro4lmeida05 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hello @pedro4lmeida05 ,
I wanted to follow up on our previous suggestions regarding the issue. We would love to hear back from you to ensure we can assist you further.
If my response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.
Thank you.
Hi @pedro4lmeida05 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Es posible que las credenciales utilizadas para establecer la conexión hallan expirado o sean incorrectas. Verificar que las credenciales sean correctas y que el método de autenticación sea el adecuado. Puede regenerar el token de acceso personal si es necesario. Permisos insuficientes en el área de trabajo, si solo tiene permisos de visualización en el área de trabajo que contiene el flujo de datos. Solicite permisos más elevados en el área de trabjo para tener el acceso completo a los flujos de datos. Compatibilidad limitrada del conector en ciertas funcionalidades. Actualmente Data Factory en Microsoft Fabric No admite el uso de Azure Databricks en canalizaciones de datos. Considere utilizar Datraflow Gen2 para conectar con Azure Databricks porque está funcinalodad sí está considerada.
User | Count |
---|---|
19 | |
12 | |
6 | |
3 | |
3 |
User | Count |
---|---|
49 | |
25 | |
17 | |
12 | |
12 |