<?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: Error running Powershell Get-PowerBITable in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2201614#M33062</link>
    <description>&lt;P&gt;I am having the same problem, I am a Power BI Admin, when I execute the following command in powershell&lt;/P&gt;&lt;P&gt;Get-PowerBIDataset -Scope Organization | Get-PowerBITable&lt;/P&gt;&lt;P&gt;I get &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"Get-PowerBITable: Operation returned an invalid status code 'NotFound'"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 13:38:04 GMT</pubDate>
    <dc:creator>MarianoCatalano</dc:creator>
    <dc:date>2021-11-22T13:38:04Z</dc:date>
    <item>
      <title>Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/853497#M21521</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've experienced an error while running the following command:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Get-PowerBITable -DatasetId [My Dataset ID Here] -WorkspaceId [My Workspace ID here] . Error is as follows:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Get-PowerBITable : Operation returned an invalid status code 'NotFound'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;At C:\Powershell Tests\Test.ps1:6 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;+ Get-PowerBITable -DatasetId ..... -Wor ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;+ CategoryInfo : WriteError: (Microsoft.Power...GetPowerBITable:GetPowerBITable) [Get-PowerBITable], HttpOperationException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;+ FullyQualifiedErrorId : Operation returned an invalid status code 'NotFound',Microsoft.PowerBI.Commands.Data.GetPowerBITable&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please kindly assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:49:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/853497#M21521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-21T20:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/853873#M21525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the error mentioned the Script couldn't able to find it the one which you are looking&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Possible reason:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Either your datasetid/workspace id is wrong&lt;/LI&gt;&lt;LI&gt;The logged in user (from the powershell session) is not having permission to the workspace/dataset&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Jay&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls join my &lt;A href="https://community.powerbi.com/t5/Developer/Invitation-to-my-PowerBI-Advanced-LiveWebinar/m-p/853801#M21523" target="_self"&gt;upcoming webinar&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 06:08:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/853873#M21525</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-22T06:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/854340#M21531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A title="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/100012" target="_self"&gt;Jayendran&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;It is strange, because I am setup as the Power BI Service Admin of our tenant. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am confident that my&amp;nbsp;&lt;SPAN&gt;datasetid/workspace id are correct (I got it by reading from url or running&amp;nbsp;&amp;nbsp;Get-PowerBIDataset -Scope Organization)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to run the following and get data without issues:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-PowerBIDataset -Scope Organization&lt;/P&gt;&lt;P&gt;Get-PowerBIWorkspace -All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By removing the workspace id, error is :&amp;nbsp;&lt;FONT color="#FF0000"&gt;Get-PowerBITable : Operation returned an invalid status code 'Forbidden&lt;/FONT&gt;'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really need help from someone to understand what is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 14:54:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/854340#M21531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/859310#M21571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah now it's Forbidden error which means like you are not allowed. Can you try the same script in a new powershell session or window&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 07:07:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/859310#M21571</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-28T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/859816#M21582</link>
      <description>&lt;P&gt;Hi &lt;A title="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/100012" target="_self"&gt;&lt;SPAN&gt;Jayendran&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I did couple of times. But still have the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 15:14:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/859816#M21582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-28T15:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/947602#M22479</link>
      <description>&lt;P&gt;Seeing the same behaviour here - did you ever find a solution?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 19:42:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/947602#M22479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-25T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/975011#M22697</link>
      <description>&lt;P&gt;No, I was not able to find any solutions on that.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 20:43:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/975011#M22697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-15T20:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2201614#M33062</link>
      <description>&lt;P&gt;I am having the same problem, I am a Power BI Admin, when I execute the following command in powershell&lt;/P&gt;&lt;P&gt;Get-PowerBIDataset -Scope Organization | Get-PowerBITable&lt;/P&gt;&lt;P&gt;I get &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"Get-PowerBITable: Operation returned an invalid status code 'NotFound'"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 13:38:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2201614#M33062</guid>
      <dc:creator>MarianoCatalano</dc:creator>
      <dc:date>2021-11-22T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2362816#M34653</link>
      <description>&lt;P&gt;The command&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Get-PowerBITable is actually calling the REST API to get list of tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunatly this only possible for push datasets at the moment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Feb 2022 10:37:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2362816#M34653</guid>
      <dc:creator>lattali__ahmed</dc:creator>
      <dc:date>2022-02-27T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2853734#M39356</link>
      <description>&lt;P&gt;&lt;STRONG&gt;This is answer!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 13:06:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2853734#M39356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-20T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Powershell Get-PowerBITable</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2881496#M39542</link>
      <description>&lt;P&gt;I have a same error when I am running&amp;nbsp;Get-PowerBITable -DatasetId&amp;nbsp; or&amp;nbsp;Invoke-PowerBIRestMethod -Url 'datasets/{datasetId}/tables' -Method Get but I am able to run other admin command&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 00:30:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-running-Powershell-Get-PowerBITable/m-p/2881496#M39542</guid>
      <dc:creator>ElhamBa</dc:creator>
      <dc:date>2022-11-03T00:30:18Z</dc:date>
    </item>
  </channel>
</rss>

