<?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: Powershell cmdlet Get-PowerBIDatasource in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/2572610#M36641</link>
    <description>&lt;P&gt;I'm having the same issue. Are there any resources that point to how blank results from using Power BI cmdlets in Powershell can be resolved.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 22:51:23 GMT</pubDate>
    <dc:creator>Pellz</dc:creator>
    <dc:date>2022-06-10T22:51:23Z</dc:date>
    <item>
      <title>Powershell cmdlet Get-PowerBIDatasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1106745#M23818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use Powershell to pull data lineage information from the API.&amp;nbsp; My thought was that I could enumerate the reports in a workspace, then enumerate the datasets that feed those reports, and then enumerate the data sources that feed the dataset.&lt;/P&gt;&lt;P&gt;My first trial run was using the get-powerbidatasource cmdlet to return the data sources associated with a given dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Connect-PowerBIServiceAccount
Get-PowerBIDatasource -DatasetId b4fe03be-07ca-4d4d-81d7-bc67877022d2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API returns an answer, but rather than giving me all the detail about the source, the only thing it returns is DatasourceType and ConnectionDetails.&amp;nbsp; Name, ConnectionString, GatewayID, and DatasourceID are all blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Name              : 
ConnectionString  : 
DatasourceType    : AnalysisServices
ConnectionDetails : Microsoft.PowerBI.Common.Api.Shared.DatasourceConnectionDetails
GatewayId         : 
DatasourceId      : &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I'm doing wrong?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 18:23:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1106745#M23818</guid>
      <dc:creator>AUaero</dc:creator>
      <dc:date>2020-05-22T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet Get-PowerBIDatasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1126857#M23930</link>
      <description>&lt;P&gt;Bump - any thoughts on this?&amp;nbsp; The API call&amp;nbsp;&lt;SPAN&gt;GET &lt;A href="https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources&lt;/A&gt; returns all of the information I'm looking for in JSON format.&amp;nbsp; I'm just curious why the cmdlet doesn't return the same things as the API call?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 14:38:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1126857#M23930</guid>
      <dc:creator>AUaero</dc:creator>
      <dc:date>2020-05-28T14:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet Get-PowerBIDatasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1477501#M26374</link>
      <description>&lt;P&gt;Hi AUaero, did you ever find an answer to this?&amp;nbsp; I am running into the same issue.&amp;nbsp; My guess is "connectionDetails" is supposed to have that data, but I get the same results back.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:44:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/1477501#M26374</guid>
      <dc:creator>SELECTDBA</dc:creator>
      <dc:date>2020-11-05T20:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet Get-PowerBIDatasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/2544146#M36384</link>
      <description>&lt;P&gt;Anyone found a solution to this? Invoking REST API calls via Powershell cmdlets is pretty slow, especially if you have thousands of datasets to query.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 14:36:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/2544146#M36384</guid>
      <dc:creator>trebllaw</dc:creator>
      <dc:date>2022-05-27T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell cmdlet Get-PowerBIDatasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/2572610#M36641</link>
      <description>&lt;P&gt;I'm having the same issue. Are there any resources that point to how blank results from using Power BI cmdlets in Powershell can be resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 22:51:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-cmdlet-Get-PowerBIDatasource/m-p/2572610#M36641</guid>
      <dc:creator>Pellz</dc:creator>
      <dc:date>2022-06-10T22:51:23Z</dc:date>
    </item>
  </channel>
</rss>

