<?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: Refreshing dataset using API not working (list datasets does work) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870931#M52028</link>
    <description>&lt;P&gt;You need to request dataset read write during the app registration.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 11:10:10 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-04-26T11:10:10Z</dc:date>
    <item>
      <title>Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3869067#M52006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a service principal associated to a security group and successfully added on tenant settings:&lt;/P&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="Jotav93_0-1714068186937.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086283i9C9215F23ABCE5B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1714068186937.png" alt="Jotav93_0-1714068186937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to get at token and get all datasets but I am unable to refresh a dataset. The relevant service principal has admin permissions in the workspace&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_1-1714068295936.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086286i40B7D68CEB8D6301/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_1-1714068295936.png" alt="Jotav93_1-1714068295936.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This service principal has Dataset.ReadWrite.All permissions under AAD so what am I missing?&lt;BR /&gt;&lt;BR /&gt;This is what I get when I try to refresh (not working):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_2-1714068433325.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086288i536ACBBD7CA44FBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_2-1714068433325.png" alt="Jotav93_2-1714068433325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This is what I get when I list (working)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_3-1714068481620.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086289i8296357303F169C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_3-1714068481620.png" alt="Jotav93_3-1714068481620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 18:10:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3869067#M52006</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-25T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3869510#M52008</link>
      <description>&lt;P&gt;go to jwt.io and check if your token truly has dataset.readwrite scope.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 00:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3869510#M52008</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T00:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870156#M52016</link>
      <description>&lt;P&gt;Thanks for the answer. How do I figure out if the token has those permissions?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_0-1714112830273.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086640iED36A458C5BDE41F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1714112830273.png" alt="Jotav93_0-1714112830273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 06:27:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870156#M52016</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-26T06:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870897#M52026</link>
      <description>&lt;P&gt;Do you have a scp (scope) section?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 10:59:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870897#M52026</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T10:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870918#M52027</link>
      <description>&lt;P&gt;No. What should the scope be?&lt;BR /&gt;&lt;BR /&gt;I didn't pass it to the api call when generating the token either... so the issue might be there.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_0-1714129523308.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1086913i0CBE60EDF03E2FA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1714129523308.png" alt="Jotav93_0-1714129523308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870918#M52027</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-26T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870931#M52028</link>
      <description>&lt;P&gt;You need to request dataset read write during the app registration.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3870931#M52028</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3871186#M52031</link>
      <description>Sorry what do you mean by app registration duing the app creation in Azure Portal or in the get token API call?</description>
      <pubDate>Fri, 26 Apr 2024 13:19:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3871186#M52031</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-26T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3871207#M52032</link>
      <description>&lt;P&gt;during the app creation&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3871207#M52032</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T13:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876190#M52065</link>
      <description>&lt;P&gt;Hi, thanks a lot for the answer. Please see a screenshot of the api permissions. Should this be applied anywhere else?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_0-1714405846928.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1088210i61CE97069507A23D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1714405846928.png" alt="Jotav93_0-1714405846928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 15:51:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876190#M52065</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-29T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876195#M52066</link>
      <description>&lt;P&gt;Looks good. You need to figure out why it is not coming through to the scp (scope) section of the token.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 15:53:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876195#M52066</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-29T15:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876209#M52067</link>
      <description>&lt;P&gt;Thanks really appreciatd for all the support. Any idea on what should I put here in scope (if anything)?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_0-1714406211853.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1088213i3CA2C9E48282560C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1714406211853.png" alt="Jotav93_0-1714406211853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 15:57:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876209#M52067</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-29T15:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing dataset using API not working (list datasets does work)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876215#M52068</link>
      <description>&lt;P&gt;either all&amp;nbsp; (so you get the ones you defined in the registration) or Dataset.ReadWrite.All if you want to limit the options for that particular session.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 15:59:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refreshing-dataset-using-API-not-working-list-datasets-does-work/m-p/3876215#M52068</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-29T15:59:18Z</dc:date>
    </item>
  </channel>
</rss>

