Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi,
Dataflows using variable library and lakehouse SQL end point as source type is not working during deployment from one workspace to another workspace use case.
I am facing an issue while using the Variable Library integration for Dataflow Gen2, as described in the Microsoft documentation:
https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-variable-library-integration
Our scenario involves deploying a Dataflow from one Fabric workspace to another. The connection is dynamically updated using the variable library (workspace ID and lakehouse name). This works correctly
but when the source is the SQL Endpoint of a Lakehouse ( to pass SQL query instead of lakehouse table directly ) configured as Database , the deployment fails with the following behavior:
Could anyone please help me understand whether:
Thanks in Advance.
Hi @Nikhilesh_NG ,
Thank you @nielsvdc for your inputs.
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.
Regards,
Community Support Team.
Hi v-echaithra,
At present, I am able to manage the issue with a temporary workaround. I trust that future updates from Fabric will address this limitation, enabling users to utilize the variable library in Dataflow Gen2 when connecting to the Lakehouse through the SQL endpoint.
Hi @Nikhilesh_NG ,
Thank you for the update and for sharing the workaround that has been effective in your case.
If you need any further assistance, please don't hesitate to reach out. We're always here to help!
Best regards,
Chaithra E.
No, you did not miss any configuration. In the documentation under Considerations and limitations and you will the point “Variables can't alter connection information. Connections remain fixed to the authored resource path configurations.”. So deploying to another workspace will currently not automatically re-bind a generic SQL/Database connection to that workspace’s lakehouse SQL endpoint, and the “data source credentials missing” is expected.
Instead of connecting to the SQL Endpoint of the Lakehouse, you can try to connect to the Lakehouse itself and parameterize is using the WorkspaceId and LakehouseId. Check it this article https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-variable-references.
Hope this helps. If so, please give kudos 👍 and mark as Accepted Solution ✔️ to help others.
Hi nielsvdc,
Thank you so much for your inputs. I have looked for a workaround option by creating views through which I can connect to lakehouse directly using one lake instead of using sql end point.