Error refreshing the Dataflow Gen2 with multiple Lakehouse Schemas selected as the data destination
Issue:
Error refreshing the Dataflow Gen2 with multiple Lakehouse Schemas selected as the data destination:
WriteToDataDestination: There was a problem refreshing the dataflow: "Couldn't refresh the entity because of an issue with the mashup document. MashupException.Error: Expression.Error: We cannot convert the value null to type Table. Details: Reason = Expression.Error; ErrorCode = 10277; Microsoft.Data.Mashup.Error.Context = User". Error code: 104100.
Investigation:
Reproduction Steps:
- Create a Dataflow Gen2 and in the Data destination settings, choose the default Lakehouse destination and save it:
- Proceed with the refresh.
- The refresh completes successfully without any issues.
Also, if we modify the Data destination to a Lakehouse and select the single schema for all destination tables and save it:
- Trigger the refresh again.
- The refresh succeeds as expected.
- But the issue is when we, update the Data destination to a Lakehouse, but this time map the tables to multiple different schemas instead of a single schema and save it:
- Initiate the refresh.
- The refresh fails and throws the below error:
Observed Behavior
- The failure occurs only when multiple schemas are configured as the destination.
- The issue is reproducible across refresh attempts.
- The Dataflow Gen2 UI allows selecting multiple schemas, but the refresh runtime does not handle this configuration correctly.
Additional Observation (UI Inconsistency)
When “Full hierarchy” is set to True in the Dataflow Gen2 data destination:
- The runtime effectively expects one schema for all tables.
- However, the UI still allows users to select different schemas per table.
- Saving this configuration is allowed, but refresh fails afterward.
This strongly suggests a design inconsistency rather than an intentional limitation.
Current Workaround & Impact
To work around this issue, we are currently:
- Creating multiple Dataflow Gen2 instances
- Each Dataflow writes to the same Lakehouse, but only one schema per Dataflow.
Due to this limitation, the number of Dataflows that need to be created and maintained has increased significantly.
Ask to Product Team
If multiple schemas are not supported, the UI should prevent users from configuring them.
If the UI allows this configuration (as it does today), Dataflow Gen2 should support writing to multiple schemas within the same Lakehouse without refresh failures.
We request the Product team to:
- Review this behavior as a potential defect or design gap
- Align the runtime behavior with the UI experience
- Consider enabling multi‑schema destinations in a single Dataflow Gen2, or clearly blocking it in the UI if unsupported
This enhancement would significantly improve usability, scalability, and customer experience when working with structured Lakehouse environments.
Recent ideas
Add "Collapse all / Expand all" to the Queries pane in Power Query Editor
Hi Fabric Community, I suggest adding a "..." menu beside Queries(n])with Collapse all and Expand all. Current state: With many queries, every group and Helper Queries folder is expanded. My 8...DataVitalizer1 hour agoSuper UserNew4Views0likes0CommentsAdd Automated Pre-Upgrade Compatibility Assessment for Fabric Spark Runtimes
Microsoft Fabric should provide an automated compatibility assessment before a workspace, Environment, notebook, or Spark Job Definition is upgraded to a newer Fabric Runtime. Spark runtime upgra...mourakshit2 hours agoNew MemberNew3Views0likes0CommentsSupport Creator-Independent Managed Identity and Ownership Transfer for Fabric Operations Agents
Microsoft Fabric Operations Agents should support an enterprise identity and ownership model that is independent of the individual user who originally created the agent. Today, an Operations Agent r...mourakshit2 hours agoNew MemberNew2Views0likes0CommentsAdd Centralized Health, Freshness Monitoring, and Alerts for OneLake Shortcuts
Microsoft Fabric should provide a centralized health-monitoring experience for OneLake Shortcuts across workspaces and data sources. As organizations adopt OneLake Shortcuts at enterprise scale, hun...mourakshit2 hours agoNew MemberNew3Views0likes0CommentsAdd Schema Compatibility Policies and Breaking-Change Detection to Fabric Event Schema Registry
Fabric Event Schema Registry should support configurable schema compatibility policies so teams can safely evolve event contracts without breaking downstream Eventstreams, Eventhouse ingestion, appli...mourakshit2 hours agoNew MemberNew2Views0likes0Comments