DirectLake on OneLake is one of those “this is what we’ve been waiting for” features in Microsoft Fabric—until you try to deploy it cleanly across Dev → Test → Prod and realize you’ve re-entered the world of post-deployment manual fixes.
In this how-to, I’m going to do three things:
- Contrast DirectLake on SQL endpoints (the “classic” flavor) with DirectLake on OneLake (the newer flavor), and explain why OneLake is worth the trouble.
- Walk through the normal deployment pipeline approach that works well for DirectLake on SQL.
- Show a two-step, semi-automated approach for DirectLake on OneLake using:
sempy_labs.directlake.update_direct_lake_model_connection(), and- a Fabric Variable Library + a “run-after-deployment” notebook.
Along the way, I’ll call out the current challenges (because yes, they’re real right now), and why this pattern matters for serious Microsoft Fabric Power BI CI/CD work.
Continue reading “DirectLake on OneLake CI/CD: A Practical Two-Step Deployment Pattern with Sempy Labs + Variable Libraries”