<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dataflow Gen2 cannot write to Fabric SQL Database, error says &amp;quot;Data source kind: FabricSql&amp; in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5228679#M16832</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1603026"&gt;@tpg0220&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) There seems to no official documentation on the above issue from Microsoft, however, as Fabric SQL DB is authenticated via only OAuth2 and no SPN or workspace identity is supported, hence can cause cross-workspace conenction issue.&lt;/P&gt;&lt;P&gt;You can raise a &lt;STRONG&gt;ticket&lt;/STRONG&gt; for this bug to Microsoft once.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;- you can try using Azure SQL DB as your destination and give Fabric SQL DB endpoint -server name and database name. Use Fabric SQL DB T-SQL connection string. You can find it in settings-Connection strings-SQL server format. Authenticate it via Org account or SPN.&lt;/P&gt;&lt;P&gt;This method bypasses FabricSQL connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the above solution works, else we can use Lakehouse to move the data to Fabric SQL DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it answers above query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ati Puri&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2026 06:31:22 GMT</pubDate>
    <dc:creator>ati_puri</dc:creator>
    <dc:date>2026-06-23T06:31:22Z</dc:date>
    <item>
      <title>Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql"</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5224343#M16793</link>
      <description>&lt;P&gt;# Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql is not supported"&lt;/P&gt;&lt;P&gt;Hoping someone has hit this and found a workaround.&lt;/P&gt;&lt;P&gt;## What I'm trying to do&lt;/P&gt;&lt;P&gt;Standard pattern. Pull a reference table from an on-premises SQL Server through a gateway, transform it in a Fabric Dataflow Gen2, land it in a Fabric SQL Database that lives in a different workspace.&lt;/P&gt;&lt;P&gt;- **Source:** on-prem SQL Server (`Sql.Database("CBIPRDDB", "PRODIGY-PDR-PRD")`), reachable through an existing On-Premises Data Gateway&lt;BR /&gt;- **Transform host:** Fabric Dataflow Gen2 (CI/CD enabled)&lt;BR /&gt;- **Destination:** Fabric SQL Database (`Prodigy_RLS`) in a different workspace, schema `dbo`, table `RefBrand`, update method Replace&lt;/P&gt;&lt;P&gt;## What happens&lt;/P&gt;&lt;P&gt;On Save and Run I get this immediately:&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;Error&lt;/P&gt;&lt;P&gt;An exception occurred: The given data source kind is not supported. Data source kind: FabricSql.&lt;BR /&gt;(Session ID: 5088244f-3f21-40d8-b7fa-47f26d92d788, Region: ussouth)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;The error claims the data source kind is `FabricSql`, but the source in my M code is plain `Sql.Database` against an on-prem server. The destination is the Fabric SQL DB. So the error message appears to be misidentifying the destination as the source, or there's a wire crossed under the hood.&lt;/P&gt;&lt;P&gt;## Things I've ruled out&lt;/P&gt;&lt;P&gt;- **Not a permissions issue on the destination.** A different Dataflow Gen2 in the SAME workspace as the Fabric SQL Database successfully writes 14 tables to that same Fabric SQL DB. Same identity, same gateway, no problems.&lt;BR /&gt;- **Not a source connector issue.** The on-prem SQL query previews 99+ rows cleanly inside Power Query. The data lands in the canvas. Only Save and Run fails.&lt;BR /&gt;- **Not a Gen1 vs Gen2 issue.** I tried wrapping the source through a Gen1 MPL dataflow, hit the same error. Then went direct from SQL Server to bypass Gen1, still same error.&lt;BR /&gt;- **Not a connector picker mistake.** Source is the regular "SQL Server database" connector with gateway auth. Not the "Fabric SQL Database" connector.&lt;/P&gt;&lt;P&gt;The only thing different about this dataflow versus the one that works: this one is in a different workspace than the destination Fabric SQL DB. Cross-workspace destination might be the issue.&lt;/P&gt;&lt;P&gt;## My M&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;let&lt;BR /&gt;Source = Sql.Database("CBIPRDDB", "PRODIGY-PDR-PRD"),&lt;BR /&gt;MPL = Source{[Schema = "dbo", Item = "master_product_library"]}[Data],&lt;BR /&gt;Picked = Table.SelectColumns(MPL, {"Brand"}),&lt;BR /&gt;Cleaned = Table.SelectRows(Picked, each [Brand] &amp;lt;&amp;gt; null and Text.Trim([Brand]) &amp;lt;&amp;gt; ""),&lt;BR /&gt;Dedup = Table.Distinct(Cleaned, {"Brand"}),&lt;BR /&gt;Renamed = Table.RenameColumns(Dedup, {{"Brand", "entity_key"}}),&lt;BR /&gt;WithName = Table.AddColumn(Renamed, "display_name", each [entity_key], type text),&lt;BR /&gt;WithActive = Table.AddColumn(WithName, "is_active", each 1, Int64.Type),&lt;BR /&gt;WithLoadedAt = Table.AddColumn(WithActive, "loaded_at", each DateTime.From(DateTimeZone.UtcNow()), type datetime),&lt;BR /&gt;Final = Table.TransformColumnTypes(WithLoadedAt, {{"entity_key", type text}, {"display_name", type text}})&lt;BR /&gt;in&lt;BR /&gt;Final&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Destination configured through the standard UI: Fabric SQL Database, pick `Prodigy_RLS`, schema `dbo`, table `RefBrand`, Replace.&lt;/P&gt;&lt;P&gt;## What I want to know&lt;/P&gt;&lt;P&gt;1. Is cross-workspace Fabric SQL Database as a destination from Dataflow Gen2 a known limitation? I cannot find this documented anywhere.&lt;BR /&gt;2. If it is a limitation, what is the supported workaround for product teams that want the source data in one workspace and the destination SQL DB in another?&lt;BR /&gt;3. Is there a way to get an error message that actually identifies the failing component instead of pointing at "Data source kind: FabricSql" when the source is clearly not FabricSql?&lt;/P&gt;&lt;P&gt;Same setup with destination set to a Lakehouse or Warehouse works fine. The Fabric SQL Database destination is where it breaks.&lt;/P&gt;&lt;P&gt;Capacity is F-series, region East US, dataflow is Gen2 (CI/CD).&lt;/P&gt;&lt;P&gt;Any pointer appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2026 13:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5224343#M16793</guid>
      <dc:creator>tpg0220</dc:creator>
      <dc:date>2026-06-21T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql&amp;</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5228679#M16832</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1603026"&gt;@tpg0220&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) There seems to no official documentation on the above issue from Microsoft, however, as Fabric SQL DB is authenticated via only OAuth2 and no SPN or workspace identity is supported, hence can cause cross-workspace conenction issue.&lt;/P&gt;&lt;P&gt;You can raise a &lt;STRONG&gt;ticket&lt;/STRONG&gt; for this bug to Microsoft once.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;- you can try using Azure SQL DB as your destination and give Fabric SQL DB endpoint -server name and database name. Use Fabric SQL DB T-SQL connection string. You can find it in settings-Connection strings-SQL server format. Authenticate it via Org account or SPN.&lt;/P&gt;&lt;P&gt;This method bypasses FabricSQL connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the above solution works, else we can use Lakehouse to move the data to Fabric SQL DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it answers above query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ati Puri&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 06:31:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5228679#M16832</guid>
      <dc:creator>ati_puri</dc:creator>
      <dc:date>2026-06-23T06:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql&amp;</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5230653#M16850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1603026"&gt;@tpg0220&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens if you try and write to a SQL database within the same workspace? Does it work successfully? If it does, then the cross workspace might be the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 22:06:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5230653#M16850</guid>
      <dc:creator>GilbertQ</dc:creator>
      <dc:date>2026-06-23T22:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql&amp;</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5238906#M16943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1603026"&gt;@tpg0220&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 10:51:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5238906#M16943</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-06-26T10:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2 cannot write to Fabric SQL Database, error says "Data source kind: FabricSql&amp;</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5252511#M16983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1603026"&gt;@tpg0220&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 12:25:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Dataflow-Gen2-cannot-write-to-Fabric-SQL-Database-error-says/m-p/5252511#M16983</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-06-29T12:25:10Z</dc:date>
    </item>
  </channel>
</rss>

