<?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: how to fetch all Datasources for all Datasets in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863614#M21622</link>
    <description>&lt;P&gt;mmmmm, fair enough.&lt;/P&gt;&lt;P&gt;i was hoping to run the individual apis, each into a file, and perform some joining in Power BI.&lt;/P&gt;&lt;P&gt;but due to having to have a DatasetID as an input parameter, i cannot run it wide open.&lt;/P&gt;&lt;P&gt;it's a shame as other apis, can be run wide open, with just the 'organization' -scope value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2019 13:27:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-03T13:27:54Z</dc:date>
    <item>
      <title>how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/862201#M21604</link>
      <description>&lt;P&gt;Hello, i am trying with the PowerShell apis but to no avail. i am looking for a way to retreive all the datasets and their underlying data sources for the whole organization. so i do not want to have to enter the DatasetID ot PowerBIDatasouce api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyhelp would be well appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:41:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/862201#M21604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-02T12:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863587#M21619</link>
      <description>&lt;P&gt;Not sure what you mean by "whole organisation" but my guess is all workspaces that your user has access to.&lt;/P&gt;&lt;P&gt;Get all datasets in your organization:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/get-powerbidataset?view=powerbi-ps#examples" target="_blank"&gt;https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/get-powerbidataset?view=powerbi-ps#examples&lt;/A&gt;&amp;nbsp;(Example 2)&lt;/P&gt;&lt;P&gt;Loop through all datasets and get all datasources in each dataset:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/get-powerbidatasource?view=powerbi-ps#examples" target="_blank"&gt;https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/get-powerbidatasource?view=powerbi-ps#examples&lt;/A&gt;&amp;nbsp;(Example 2 if you only want datasources in your organization in the specified dataset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can call the REST api using Powershell , if you want to do that my&amp;nbsp;suggestion would be to get all workspaces which you have access to:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroups" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Loop through all workspaces and for each workspace get all datasets :&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetsingroup" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetsingroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And then for each dataset get all datasources :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:10:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863587#M21619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T13:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863607#M21620</link>
      <description>&lt;P&gt;Hi thanks for your reply, so when i say 'whole organization' i actually mean&amp;nbsp;&lt;EM&gt;the&lt;/EM&gt; organization.&lt;/P&gt;&lt;P&gt;so it looks like i need to write some powershell script to loop through the results from one api, and add as a parameter to another api.&lt;/P&gt;&lt;P&gt;is that what you mean ?&lt;/P&gt;&lt;P&gt;ta&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:23:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863607#M21620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T13:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863612#M21621</link>
      <description>&lt;P&gt;Okay, then yes I believe that is how you'll have to do it&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:25:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863612#M21621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863614#M21622</link>
      <description>&lt;P&gt;mmmmm, fair enough.&lt;/P&gt;&lt;P&gt;i was hoping to run the individual apis, each into a file, and perform some joining in Power BI.&lt;/P&gt;&lt;P&gt;but due to having to have a DatasetID as an input parameter, i cannot run it wide open.&lt;/P&gt;&lt;P&gt;it's a shame as other apis, can be run wide open, with just the 'organization' -scope value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:27:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863614#M21622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863620#M21623</link>
      <description>&lt;P&gt;This is just a guess from my side, I don't know the Power BI Powershell API, powershell in general, well enough to tell you this is the way to go&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:30:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/863620#M21623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch all Datasources for all Datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/1940435#M30359</link>
      <description>&lt;P&gt;Any update on that ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 15:16:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/how-to-fetch-all-Datasources-for-all-Datasets/m-p/1940435#M30359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-06T15:16:52Z</dc:date>
    </item>
  </channel>
</rss>

