<?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: Synchronous Power BI Service &amp;amp; Azure AD in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210325#M6642</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was using this URL to register an &lt;A href="https://dev.powerbi.com/apps" target="_blank"&gt;register an app&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;How can I set my Azure account to proffessionnal and associate it with my&amp;nbsp;Azure account ?&lt;/P&gt;&lt;P&gt;Note that we are in the BizSpark+ Program and our mail are associate to this program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refresh limitations is for schedule but manual refresh on Power BI Service doesn't have limitation. Using the API is not the same action ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the demo link,&amp;nbsp;have you got some one for PHP ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cyril&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 08:45:21 GMT</pubDate>
    <dc:creator>cdupland</dc:creator>
    <dc:date>2017-07-12T08:45:21Z</dc:date>
    <item>
      <title>Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/209650#M6618</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I am newly using Power BI service. I would like to refresh my dataset to have a real-time report.&lt;BR /&gt;I want to use the Power BI API to do that with request :&lt;BR /&gt;POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have problem to get the token before the refreshing request :&lt;BR /&gt;'Application with identifier '**1607a9-****-****-****-****2bb47f5' was not found in the directory **54b29a-****-****-****-****dcf8a376'.&lt;BR /&gt;&lt;BR /&gt;I fact, I use Power BI Service with an proffessionnal account and one password, but using Portal Azure with an personal account and anoter password.&lt;BR /&gt;The mail is same for both.&lt;BR /&gt;&lt;BR /&gt;How can synchronous bot to use API for refresh my dataset ?&lt;BR /&gt;Or is that possible to have real-time Power BI report with an Power BI Embedded ressource in Azure Portal ?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 11:42:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/209650#M6618</guid>
      <dc:creator>cdupland</dc:creator>
      <dc:date>2017-07-11T11:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210107#M6637</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35635"&gt;@cdupland&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I am newly using Power BI service. &lt;STRONG&gt;I would like to refresh my dataset to have a real-time report.&lt;/STRONG&gt;&lt;BR /&gt;I want to use the Power BI API to do that with request :&lt;BR /&gt;POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have problem to get the token before the refreshing request :&lt;BR /&gt;'Application with identifier '**1607a9-****-****-****-****2bb47f5' was not found in the directory **54b29a-****-****-****-****dcf8a376'.&lt;BR /&gt;&lt;BR /&gt;I fact, &lt;STRONG&gt;I use Power BI Service with an proffessionnal account and one password, but using Portal Azure with an personal account and anoter password.&lt;/STRONG&gt;&lt;BR /&gt;The mail is same for both.&lt;BR /&gt;&lt;BR /&gt;How can synchronous bot to use API for refresh my dataset ?&lt;BR /&gt;Or is that possible to have real-time Power BI report with an Power BI Embedded ressource in Azure Portal ?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35635"&gt;@cdupland&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;What account did you use to &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding-content/#step-1-setup-your-embedded-analytics-development-environment" target="_self"&gt;register the app&lt;/A&gt;? I think you shall use the&amp;nbsp;&lt;STRONG&gt;proffessionnal account&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;all the time when registering the app and logining azure portal to grant permissions as the steps in above link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Calling the refresh API is definitely not an approach for real-time report with a Pro license,&lt;/STRONG&gt; as this&lt;SPAN&gt;&amp;nbsp;API also has the schedule refresh limitation(8 times per day, if you'd like to lift this limitation, you may have to buy a premium license, see&amp;nbsp;&lt;/SPAN&gt;&lt;A title="" href="https://powerbi.microsoft.com/en-us/documentation/powerbi-premium/#capacity-tiers" target="_self" rel="nofollow noopener noreferrer"&gt;this link&lt;/A&gt;&lt;SPAN&gt;). For real-time purpose, as always, you have to use &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-directquery-data-sources/" target="_self"&gt;datasources that supports direct query mode&lt;/A&gt; or you can reference&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-real-time-streaming/" target="_self"&gt;Real-time streaming in Power BI&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, a simple &lt;A href="https://community.powerbi.com/t5/Developer/Data-Refresh-by-using-API-Need-Steps/m-p/209371#M6614" target="_self"&gt;demo&lt;/A&gt; calling the refresh API for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 02:47:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210107#M6637</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-12T02:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210325#M6642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was using this URL to register an &lt;A href="https://dev.powerbi.com/apps" target="_blank"&gt;register an app&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;How can I set my Azure account to proffessionnal and associate it with my&amp;nbsp;Azure account ?&lt;/P&gt;&lt;P&gt;Note that we are in the BizSpark+ Program and our mail are associate to this program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refresh limitations is for schedule but manual refresh on Power BI Service doesn't have limitation. Using the API is not the same action ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the demo link,&amp;nbsp;have you got some one for PHP ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cyril&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 08:45:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210325#M6642</guid>
      <dc:creator>cdupland</dc:creator>
      <dc:date>2017-07-12T08:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210348#M6643</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35635"&gt;@cdupland&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using this URL to register an &lt;A href="https://dev.powerbi.com/apps" target="_blank"&gt;register an app&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;How can I set my Azure account to proffessionnal and associate it with my&amp;nbsp;Azure account ?&lt;/P&gt;
&lt;P&gt;Note that we are in the BizSpark+ Program and our mail are associate to this program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refresh limitations is for schedule but manual refresh on Power BI Service doesn't have limitation. Using the API is not the same action ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the demo link,&amp;nbsp;have you got some one for PHP ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cyril&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35635"&gt;@cdupland&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;When regersitering that app, use the Power BI Pro account(see below snapshot). And then log in Azure portal with the same account to grant permission as the "Using the Azure AD Portal" in the step 1 in &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding-content/#step-1-setup-your-embedded-analytics-development-environment" target="_self"&gt;this link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/49702iF959D5EA7ADCFB94/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know PHP, but I think you can reproduce the demo, because the C# demo is just calling two REST APIs, no specific SDK at all.&lt;/P&gt;
&lt;PRE&gt;POST /common/oauth2/token HTTP/1.1
Host: login.windows.net
Cache-Control: no-cache 
Content-Type: application/x-www-form-urlencoded

client_id=49xxxxxxxxx-6dxxxd1a4&amp;amp;grant_type=password&amp;amp;resource=https%3A%2F%2Fanalysis.windows.net%2Fpowerbi%2Fapi&amp;amp;username=yourusername&amp;amp;password=yourpassword&lt;/PRE&gt;
&lt;PRE&gt;POST /v1.0/myorg/groups/dc581184-a209-463b-8446-5432f16b6c15/datasets/1f6285a5-7b98-4758-8f81-77b7ae5637d6/refreshes HTTP/1.1
Host: api.powerbi.com
Authorization: Bearer  eyJ0xxxxx
Content-Type: application/json
Cache-Control: no-cache &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As to limitation, based on my test, the refresh API shares the limitation with "Schedule refresh" other than "Manual refresh". &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 09:07:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210348#M6643</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-12T09:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210588#M6650</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;All working fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You right for the limitation, real-time is not possible with Power BI Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cyril&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:40:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210588#M6650</guid>
      <dc:creator>cdupland</dc:creator>
      <dc:date>2017-07-12T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210623#M6651</link>
      <description>Glad to hear all working fine, if you have no further question, could you please accept the reply as solution to close this thread?</description>
      <pubDate>Wed, 12 Jul 2017 14:21:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210623#M6651</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-12T14:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Power BI Service &amp; Azure AD</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210903#M6657</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35635"&gt;@cdupland&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You can get the dataset refresh history with the specific API, see the&amp;nbsp;getRefreshHistory in that &lt;A href="https://community.powerbi.com/t5/Developer/Data-Refresh-by-using-API-Need-Steps/m-p/209371#M6614" target="_self"&gt;demo&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 01:27:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Synchronous-Power-BI-Service-amp-Azure-AD/m-p/210903#M6657</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-13T01:27:19Z</dc:date>
    </item>
  </channel>
</rss>

