show and tell
21 Topics[BUG] Dataflow Gen2 destination picker 404 — api.powerbi.com lakehouses UK region
Hi community, We have a complete blocker with Dataflow Gen2 (CI/CD) destination configuration in our UK-region Fabric tenant. The Error: When clicking "Add default destination" and selecting a Fabric Lakehouse from the OneLake catalog, this error fires immediately for ALL users including the workspace Admin: DataSource.Error: Downstream service call to url 'https://api.powerbi.com/v1/workspaces/{WORKSPACE_ID}/lakehouses' failed with status code 404. (Region: uk) The Lakehouse IS visible in the OneLake catalog — it appears in the picker. The 404 fires the moment it is clicked. Root cause hypothesis: The destination picker calls the legacy Power BI REST API: api.powerbi.com/v1/workspaces/{id}/lakehouses ← returns 404 For Fabric-native workspaces in the UK region, the correct endpoint should be: api.fabric.microsoft.com/v1/workspaces/{id}/lakehouses The OneLake catalog listing (which uses a different path) resolves the lakehouse correctly — it's only the destination configuration call that uses the wrong endpoint. Workarounds attempted — all failed: 1. UI — Admin user attempted same steps → same 404 2. queryMetadata.json via Git — Added destination fields, pushed to prod branch → Fabric silently strips loadEnabled/destination on every sync, creating a permanent conflict loop (workspace ≠ Git on every update) 3. Authentication methods — Before the error began firing immediately, a "Connect to default data destination" screen appeared offering two authentication options for the Lakehouse connection: - Organizational account (Sahil Singh / user account) - Service principal Both were attempted. Neither succeeded — the 404 followed in both cases. Subsequently, this connection credentials screen stopped appearing altogether. The 404 now fires immediately upon clicking lh_dhl_prod in the OneLake catalog, before the connection setup dialog is even shown. This regression suggests the failure point has moved earlier in the destination configuration flow. Questions: 1. Is this a known issue for UK-region tenants? 2. Is there a way to configure the Dataflow Gen2 destination via Fabric REST API directly to bypass the broken UI? 3. Are there other file-based approaches (mashup.pq metadata) for CI/CD Dataflow Gen2 destinations? Happy to provide Session IDs and further details to the Fabric team. I have attached the relevant images, PFA... Thanks14Views0likes0CommentsDataflow Gen2 (CI/CD) Data Pipeline Activity Fails when Dynamic Parameters Passed from Data Pipeline
Hi Fellow Fabricators, This one gave me a nasty headache, so I'm posting here to help others with the same issue. Error code: 20302 Failure type: User configuration issue Details Dataflow refresh job failed with status: Failed. Failure reason: { requestId: [guid], errorCode: 105004, message: . Learn more at https://go.microsoft.com/fwlink/?linkid=2314100 } Error Link: Troubleshoot connectors - Microsoft Fabric | Microsoft Learn The error code Troubleshoot guide is generic and the failure reason message is missing. High-level config details DataflowGen2 (CI/CD): public parameters mode enabled runs successfully when (using "current value" in parameters) executed manually (save, run & close) refreshed (manually) from UI run fails when called from a dataflow activity in a data pipeline, and pipeline passes 3 dynamic parameters into dataflow MICROSOFT RESOURCES Dataflow Gen2 CI/CD - in GA May 2025 Deployment Pipeline Parameters are supported Data Pipelines: Dataflow Activity supports Dataflow Gen2 CI/CD Passing parameters into a Dataflow Gen2 CI/CD from a Data Pipeline activity is supported: and referenced thus "When selecting a Dataflow Gen2 with CI/CD that has the public parameters mode enabled, a Dataflow parameters section is displayed which lists all the available parameters, their types, and default values for the selected Dataflow." SOLUTION After a lot of config tweaking to identify the root cause, it was a simple data typing issue (of course!!). Parameters in data pipeline items must be strongly typed - mine were of type [String] The DFG2 parameters were of type Any - this is usually really forgiving. By changing the data type of all parameters in DFG2 to [Text] the DPL activity ran perfectly. NOTES: The error could be much more meaningful - and indeed the documentation should be updated to make this data type match requirement clear. Dataflows and Data Pipelines have different development stories: Dataflows have evolved considerably since their origin in Excel Power Query (aka Data Explorer) Fabric data pipelines began life in Azure Data Factory - with some Azure Synapse pipeline DNA. It is clear that these Fabric items are still not fully consistent - not least because types String and Text are not interchangeable/identical at a technical level 😛Solved2.1KViews0likes2CommentsHow to fully load data once and then incrementally update with yesterday’s data in Dataflow Gen2?
Hi all, I'm new to Dataflow Gen2 and exploring it to centralize data transformations for Power BI reporting. I’m using F2 capacity and pulling data from multiple sources like SQL Server, Salesforce, and Microsoft Business Central. While building the dataflows, I didn’t define any explicit output data destination (bottom left panel in the dataflow UI). But I noticed that files like “StagingLakehouseForDataflows_...” are automatically getting created in my workspace under type “Lakehouse” or “Warehouse”. What exactly are these files? Is it okay to leave the output destination undefined if I can still see the tables and use them in Power BI? Incremental Refresh Doubts: I tried setting up incremental refresh on one of the queries (Currency Exchange Rate). This table has three columns: Currency Code Starting Date Currency Exchange Rate There’s historical data available from 2020 onwards. Since the exchange rates update daily, my goal is to: Load the full historical dataset initially Then, refresh only yesterday’s data daily (i.e., append new records to the existing dataset) So I used these settings in Incremental Refresh: Date column: Starting Date Extract data from the past: 1 day Bucket size: Day But after enabling and running the refresh, I noticed that only records with yesterday’s date were loaded — the older data (from 2020 onwards) wasn't loaded at all. What I need: I want the dataflow to load the entire dataset initially, and then on each scheduled refresh, only add new records from yesterday (without removing the older ones). How can I properly configure incremental refresh to support this pattern in Dataflow Gen2? Thanks in advance for any help or clarification!Solved4.7KViews0likes4CommentsDataflow Gen2 Destination: Columns Name
So I've been using a table in a Fabric WH for some months now which includes a column name "Customer No.". Now I wanted to append from a differenct dataflow to that table and i get an error claiming this table has unsupported column names: It is extremly unfortunate if such constraints are being added afterwards... and therefore breaking things that have been working!Solved2.4KViews0likes6CommentsJSON data structure reconstruction
Hi Everyone, I am working on an Azure Cosmos DB migration where I need to transform the structure of documents in the "Notes" container. While I have identified most of the migration steps, I am currently facing a challenge with structural conversion and parsing of a JSON array field inside Azure Data Factory (ADF) Data Flow. Problem Context: I need to convert the "NoteDetails" array field from the original document format to a new normalized structure. The transformation involves flattening the array and restructuring it into a key-value format within a new field called "NormalizedNoteDetails". Original Document (Current Cosmos DB Structure): { "id": "123", "ownerId" : "1234", "noteCategory" : "somecategory", "NoteDetails": [ { "Key": "PropertyNameKey1", "Value": ["prop1of1", "prop2of1"] }, { "Key": "PropertyNameKey2", "Value": ["prop1of2", "prop2of2"] }] } Expected Transformed Structure (Target Format in Cosmos DB): { "id": "123", "ownerId" : "1234", "noteCategory" : "somecategory", "normalizedNoteDetails": { "PropertyNameKey1": ["prop1of1", "prop2of1"], "PropertyNameKey2": ["prop1of2", "prop2of2"] } } Specific Question: How can I efficiently parse and transform the "Notes" JSON array field inside an ADF Data Flow activity to achieve the new structure? I have tried flatten and pivot with no success but I am newbie to the ADF. A concrete example would help me tremendously. Thanks.Solved1.5KViews0likes1CommentDataflow gen2 deployment best practices
Hello experts, I'm having a little trouble on how to properly deploy a Dataflow gen2 item by using the Deployment Pipelines. I know it is currently unsupported by either Azure DevOps, GitHub and Fabric's own Deployment Pipelines, so I wanted to know if there is any best practices to deploy this items. I've tried to use the Power Query templates but it works half the way because the Data Destination set in the queires is gone. This creates potential human errors when setting the queries into the correct destination. Also, when deploying the Pipeline, say from Dev to Test, all Dataflows gen2 that are called inherit the previous workspace (in this case Development), which other manual labor has to be done. Is there a way to dynamically define the workspace? To set the current workspace as the one feeding the Dataflow in the Pipeline? Best regardsSolved6.1KViews0likes7CommentsData Flow Gen 02 refresh error
I have created Data Flow Gen 02 to transfer data from a data lakehouse to a data warehouse, with the data warehouse as the final destination. "There was a problem refreshing the dataflow. Please review the error message(s) below, fix the problem, and try again. (Request ID:). dimdate: Error Code: Mashup Exception Data Source Error, Error Details: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: DataSource.Error: Microsoft SQL: Internal system error when attempting to open or create remotely stored delta log file. This error is usually intermittent. Please try the operation again and contact Customer Support Services if this persists. Statement ID:" The 'failed reason' table is changing from time to time. Is there a way to fix this issue?3.9KViews0likes5CommentsFacts and Dims
Hi everyone, How does everyone approach modeling in Dataflows Gen2? For our client it seems easier to do it with a dataflow because they are not on a sufficient SQL or notebook level. Would you create a dataflow for every fact/dim? It makes sense for me to keep it seperate. But i'm also thinking - if multiple facts/dims use the same source tables that we might combine them into one dataflow ThanksSolved6.1KViews1like1CommentUsing a binary sample file for custom functions in Dataflow 2 gen
Hello! I'm using dataflow 2 gen in order to optimize the updating of queries with custom functions. For the function I have a sample file (for transforming other files) that must be in binary format (according to https://learn.microsoft.com/en-us/power-query/custom-function). For some reason, when publishing the dataflow in a query with sample file two more steps are being added (From Value, Remove Columns): let Source #"Filtered rows" = Table.SelectRows(Source, each Text.Contains([Name], "001.Sample.xlsx")), #"Remove other columns" = Table.SelectColumns(#"Filtered rows", {"Content"}), Transitions = #"Remove other columns"{0}[Content], #"From Value" = Table.FromValue(Transitions ), #"Remove Columns" = Table.RemoveColumns(#"From Value", Table.ColumnsOfType(#"From Value", {type table, type record, type list, type nullable binary, type binary, type function})) in #"Remove Columns" The publishing is successful but the updating fails: Mashup Exception Expression Error: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Expression.Error: Can not convert a Table type into a Binary type. Details: Reason = Expression.Error;Value = #table({}, {});Microsoft.Data.Mashup.Error.Context = User. I have checked several posts with similar problems but haven't managed to solve mine one. Ask you for help me with using of functions in a data flow.5.1KViews0likes17CommentsMashup Exception Expression Error DataFlows 2 Gen
Hello! I'm trying to transform and load data in dataflow 2 gen. The dataflow is published but the error occurs while updating: "The error code: Mashup Exception Expression Error: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Expression.Error: The table could not be inserted., InnerException: Cannot convert a List type value to a Text type" In that query there are the following steps: 1. Source (SharePoint.Tables...) 2. Navigation 3. Table.ExpandListColumn(Navigation, "PO") 4. Table.ExpandRecordColumn(#"Expanded: PO", "PO", {"lookupValue"}, {"Project Office"}) 5. Table.ExpandListColumn(#"Expanded: PO 1", "Contractor") 6. Table.ExpandRecordColumn(#"Expanded: Contractor", "Contractor", {"lookupValue"}, {"Contractor"}) and so on The columns Project office and Contractor are LookUp columns that consist of only one text value each (while creating table people choose one text value from a list for one table record). So that the type that I set for these columns is Text. Could you please explain to me what the problem can be in my case?Solved2.2KViews0likes2Comments