<?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 Working API calls with service principal &amp;amp; data set refresh in postman in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/640371#M18751</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm freaking out here - what a hell of a mess in the documentation. I wasted hours in trying to get an working example in postman for authenticating with a service principal and doing a simple refresh on a dataset &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Did anyone achieved it? Any working examples would be highly appreciated...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we have done so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Created Application&lt;/P&gt;&lt;P&gt;- Created service principal&lt;/P&gt;&lt;P&gt;- Enabled the feature in preview, added the group in which are service p. belongs&lt;/P&gt;&lt;P&gt;- Created workspace, added the security group (admin)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I now get the token in postman in order to use it in the next call?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 10:48:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-08T10:48:12Z</dc:date>
    <item>
      <title>Working API calls with service principal &amp; data set refresh in postman</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/640371#M18751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm freaking out here - what a hell of a mess in the documentation. I wasted hours in trying to get an working example in postman for authenticating with a service principal and doing a simple refresh on a dataset &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Did anyone achieved it? Any working examples would be highly appreciated...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we have done so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Created Application&lt;/P&gt;&lt;P&gt;- Created service principal&lt;/P&gt;&lt;P&gt;- Enabled the feature in preview, added the group in which are service p. belongs&lt;/P&gt;&lt;P&gt;- Created workspace, added the security group (admin)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I now get the token in postman in order to use it in the next call?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:48:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/640371#M18751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-08T10:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Working API calls with service principal &amp; data set refresh in postman</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/640394#M18752</link>
      <description>&lt;P&gt;Ok, i'm getting one step closer. I managed to get the access token by using our tenant ID in the oauth call and using the client id (application id) together with our secret:&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="bearer.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/151158i716E263E16334502/image-size/large?v=v2&amp;amp;px=999" role="button" title="bearer.png" alt="bearer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to do now a simple statement:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-03-08 12_54_42-Window.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/151166i2E2745743D9F5B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-03-08 12_54_42-Window.png" alt="2019-03-08 12_54_42-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a new workspace (preview) and added the security group as Admin to the members. What's the missing point?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 11:57:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/640394#M18752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-08T11:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Working API calls with service principal &amp; data set refresh in postman</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/656855#M18949</link>
      <description>&lt;P&gt;Has really no one a working example? Or I'm the only one who needs a service principial due to some 2FA?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 17:54:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/656855#M18949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T17:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Working API calls with service principal &amp; data set refresh in postman</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/862846#M21610</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Did you get any solution for this ??&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 00:31:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/862846#M21610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T00:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Working API calls with service principal &amp; data set refresh in postman</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/863453#M21614</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;The flow will be , once you get the token&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the token to &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/takeoveringroup" target="_blank" rel="noopener"&gt;takeover the DataSET&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then call the &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdatasetingroup" target="_blank" rel="noopener"&gt;Refresh API using the token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you face any issue with this&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 10:55:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Working-API-calls-with-service-principal-amp-data-set-refresh-in/m-p/863453#M21614</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-12-03T10:55:37Z</dc:date>
    </item>
  </channel>
</rss>

