<?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: Admin API not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/655806#M18940</link>
    <description>&lt;P&gt;I've been experience similar stuff when trying to use the PowerShell APIs...stuff works one day and not the next. I know Microsoft is rolling out a lot in the PBI service right now...but as a newbie PowerShell person, makes it really hard to figure out if my code is hosed up or if the service isn't behaving nicely....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2019 21:34:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-27T21:34:20Z</dc:date>
    <item>
      <title>Admin API not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/653260#M18910</link>
      <description>&lt;P&gt;A month or two ago, I successfully used several of the Admin API calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently, I have not been able to get the API to work at all. I am using the same PowerShell code, the same credential, and the same registered application as before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The credential is in the Power BI Adminsitrator role. The registered application has Bower BI Tenant.Read.All and Tenant.ReadWrite.All rights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This credential and registered application are still working normally with other Power BI API's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error returned from the API is 401 Unauthorized, with no additional information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What might I be doing wrong?&lt;/P&gt;&lt;P&gt;Has something changed with this API, Is it working for everyone else?&lt;/P&gt;&lt;P&gt;Have the documented rights and permission scope changed?&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim Curwick&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 16:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/653260#M18910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-25T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Admin API not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/654532#M18926</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;403 is actually the error I was receiving. (401 was when I had the syntax wrong for one set of tests.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I worked with Microsoft yesterday to troubleshoot. No issues were found at either end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today it works. No idea why.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I learn anything more, I'll post additional updates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim Curwick&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 20:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/654532#M18926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-26T20:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Admin API not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/655806#M18940</link>
      <description>&lt;P&gt;I've been experience similar stuff when trying to use the PowerShell APIs...stuff works one day and not the next. I know Microsoft is rolling out a lot in the PBI service right now...but as a newbie PowerShell person, makes it really hard to figure out if my code is hosed up or if the service isn't behaving nicely....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:34:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-API-not-working/m-p/655806#M18940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-27T21:34:20Z</dc:date>
    </item>
  </channel>
</rss>

