<?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 GetDataflowDatasourcesAsAdmin returning multiple connections for dataflow in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3618570#M47680</link>
    <description>&lt;P&gt;I have 2 connections in my Gateway that are identical, except for the connection name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataflow that uses one of those connections.&amp;nbsp; When I open the dataflow and go to the Manage Connections screen and edit the connection, the connection name is one of the connections in the Gateway.&lt;/P&gt;&lt;P&gt;When I use the GetDataflowDatasourcesAsAdmin API for this dataflow, the results include both gateway connections.&amp;nbsp; I was expecting to see just the connection that is linked to dataflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a bunch of duplicate connections in the Gateway that I want to eliminate.&amp;nbsp; I was hoping the API would help me see which connections are being used for each dataflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better option to identify lineage from a gateway connection to the dataflows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;</description>
    <pubDate>Fri, 05 Jan 2024 21:03:43 GMT</pubDate>
    <dc:creator>BobLang</dc:creator>
    <dc:date>2024-01-05T21:03:43Z</dc:date>
    <item>
      <title>GetDataflowDatasourcesAsAdmin returning multiple connections for dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3618570#M47680</link>
      <description>&lt;P&gt;I have 2 connections in my Gateway that are identical, except for the connection name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataflow that uses one of those connections.&amp;nbsp; When I open the dataflow and go to the Manage Connections screen and edit the connection, the connection name is one of the connections in the Gateway.&lt;/P&gt;&lt;P&gt;When I use the GetDataflowDatasourcesAsAdmin API for this dataflow, the results include both gateway connections.&amp;nbsp; I was expecting to see just the connection that is linked to dataflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a bunch of duplicate connections in the Gateway that I want to eliminate.&amp;nbsp; I was hoping the API would help me see which connections are being used for each dataflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better option to identify lineage from a gateway connection to the dataflows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;</description>
      <pubDate>Fri, 05 Jan 2024 21:03:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3618570#M47680</guid>
      <dc:creator>BobLang</dc:creator>
      <dc:date>2024-01-05T21:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: GetDataflowDatasourcesAsAdmin returning multiple connections for dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3634648#M48716</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/433174"&gt;@BobLang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us with your problem.The&amp;nbsp;&lt;EM&gt;GetDataflowDatasourcesAsAdmin&lt;/EM&gt;&amp;nbsp;API is designed to return a list of data sources for the specified dataflow. This includes both cloud and on-premise data gateway sources.&lt;SPAN&gt;&amp;nbsp;Base on your description, it seems that you're experiencing an issue where it's returning multiple connecitons for a single dataflow.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Could you please provide the related screeshots with the connections(&lt;EM&gt;&lt;STRONG&gt;mask the sensitive info&lt;/STRONG&gt;&lt;/EM&gt;)?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition, you can refer the following official documentation to get the related info by the feature "Lineage View".&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;In Lineage View, you can see the lineage relationships between all the artifacts in a workspace, and all its external dependencies . It shows connections between all workspace artifacts, including connections to dataflows, both upstream and downstream .&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-data-lineage" target="_blank"&gt;Data lineage - Power BI | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1705024605421.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024304iDB1DED8EE136EB57/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1705024605421.png" alt="vyiruanmsft_0-1705024605421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 01:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3634648#M48716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T01:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: GetDataflowDatasourcesAsAdmin returning multiple connections for dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3636335#M48740</link>
      <description>&lt;P&gt;My use case is that over time, my developers have created numerous duplicate connections in our gateway.&amp;nbsp; I am going through an exercise to clean up the gateway.&amp;nbsp;&amp;nbsp;I am trying to find the linage from the Connections down to the dataflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the GetDataflowDatasourcesAsAdmin API, I the API is pulling all duplicated connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example:&amp;nbsp; The gateway has 2 connections that are identical except for the name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobLang_0-1705073727701.png" style="width: 572px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024737i74BE19A77A5CE50C/image-dimensions/572x315?v=v2" width="572" height="315" role="button" title="BobLang_0-1705073727701.png" alt="BobLang_0-1705073727701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the dataflow, the connection is showing that it is linked to the left connection that is illustrated in the screenshot above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobLang_1-1705073823282.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024740i6F0B06BE8A19A324/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BobLang_1-1705073823282.png" alt="BobLang_1-1705073823282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, when I use the API to pull the datasources for this dataflow, the API is pulling both connections:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobLang_3-1705076733377.png" style="width: 717px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024776i630D89C16D57A087/image-dimensions/717x86?v=v2" width="717" height="86" role="button" title="BobLang_3-1705076733377.png" alt="BobLang_3-1705076733377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Datasets GetDatasourcesAsAdmin API works great with the dataset connections.&amp;nbsp; It pulls the actual connection used in the dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current lineage view in Power BI does not effectively meet my use case for 2 reasons:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; I would have to go through 150+workspaces to look at that lineage view.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When you use the linage view, it does not shows the name of the gateway connection - only the connection details.&amp;nbsp; &amp;nbsp;As you can see in the screenshot below of the lineage for example, the connection string is displayed, not the name of the connection,&amp;nbsp; So, I can't see which connection in the gateway is actually being used.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobLang_2-1705076050615.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024774i19E5249CC67CCFE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BobLang_2-1705076050615.png" alt="BobLang_2-1705076050615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope these better illustrates the challenge that I am facing with &lt;EM&gt;GetDataflowDatasourcesAsAdmin&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;api.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:37:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/GetDataflowDatasourcesAsAdmin-returning-multiple-connections-for/m-p/3636335#M48740</guid>
      <dc:creator>BobLang</dc:creator>
      <dc:date>2024-01-12T16:37:40Z</dc:date>
    </item>
  </channel>
</rss>

