<?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 can i get the SharePoint or File locations of a DataSource using PowerShell in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1580504#M27010</link>
    <description>&lt;P&gt;You need to run DMV queries against the XMLA endpoint to get that information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;select&lt;/SPAN&gt; * &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_PARTITIONS&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 22:10:52 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-01-04T22:10:52Z</dc:date>
    <item>
      <title>How can i get the SharePoint or File locations of a DataSource using PowerShell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1578249#M26982</link>
      <description>&lt;P&gt;hello all&lt;/P&gt;&lt;P&gt;I am trying to find out the location of a Datasource SharePoint or File.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run the PowerBIDatasource PowerShell cmdlet it does not return that detail&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 16:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1578249#M26982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-03T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get the SharePoint or File locations of a DataSource using PowerShell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1580504#M27010</link>
      <description>&lt;P&gt;You need to run DMV queries against the XMLA endpoint to get that information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;select&lt;/SPAN&gt; * &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_PARTITIONS&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 22:10:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1580504#M27010</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-01-04T22:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get the SharePoint or File locations of a DataSource using PowerShell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1581137#M27022</link>
      <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to invoke the rest API.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup" target="_self"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Invoke-PowerBIRestMethod -Url 'groups/xxxxxxxxxxx/datasets/xxxxxxxxxx/datasources' -Method Get &lt;/LI-CODE&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="V-lianl-msft_0-1609826010150.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/426819i60EAC0DED870A54F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="V-lianl-msft_0-1609826010150.png" alt="V-lianl-msft_0-1609826010150.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 05:53:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-can-i-get-the-SharePoint-or-File-locations-of-a-DataSource/m-p/1581137#M27022</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-01-05T05:53:40Z</dc:date>
    </item>
  </channel>
</rss>

