<?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: Power BI REST API - UserNotLicensed in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/482112#M14794</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually i've solved this problem. Had to use Python to use REST API, powershell example don't work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 06:25:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-07T06:25:37Z</dc:date>
    <item>
      <title>Power BI REST API - UserNotLicensed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/481448#M14766</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to refresh dataset using REST API (using this example:&amp;nbsp;&lt;A href="https://github.com/Azure-Samples/powerbi-powershell/blob/master/manageRefresh.ps1)&amp;nbsp;" target="_blank"&gt;https://github.com/Azure-Samples/powerbi-powershell/blob/master/manageRefresh.ps1)&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Howere I've got an error:&lt;BR /&gt;$uri = "&lt;A href="https://api.powerbi.com/v1.0/$groupsPath/datasets/$datasetID/refreshes" target="_blank"&gt;https://api.powerbi.com/v1.0/$groupsPath/datasets/$datasetID/refreshes&lt;/A&gt;"&lt;BR /&gt;Invoke-RestMethod -Uri $uri -Headers $authHeader -Method POST -Verbose&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-RestMethod : {"error":{"code":"UserNotLicensed","message":"User is not licensed for Power BI"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user used for operation has trial Pro license. Is it limitations of Trial ?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 13:26:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/481448#M14766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T13:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - UserNotLicensed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/482079#M14792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There isn't such a limitation to Pro Trail account. I would suggest you check these things below.&lt;/P&gt;
&lt;P&gt;1. Use exactly the same user who can log in Power BI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Register your app in the same tenant with Power BI, which couldn't be like this: onmicrosoft.com and yourdomain.com.&lt;/P&gt;
&lt;P&gt;3. Did you grant the permission in the Azure? You need to click the "Grant Permission" button explicitly.&lt;/P&gt;
&lt;P&gt;4. The user should have the Edit permission of the App workspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 06:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/482079#M14792</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-07T06:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - UserNotLicensed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/482112#M14794</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually i've solved this problem. Had to use Python to use REST API, powershell example don't work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 06:25:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UserNotLicensed/m-p/482112#M14794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T06:25:37Z</dc:date>
    </item>
  </channel>
</rss>

