<?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 Power BI REST API WITH R in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-WITH-R/m-p/701040#M19518</link>
    <description>&lt;P&gt;I am having a trouble with power bi rest api. I want to show my analyse results(dataframes) that build by R Programming, on POWER BI. In order to do this I found this R package;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/froocpu/poweRbi" target="_self"&gt;https://github.com/froocpu/poweRbi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all I registered an app following this guide(native app);&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/register-app" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/developer/register-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I successfully completed these steps. Bur when I try to use above library, I am gettin an error;&lt;/P&gt;&lt;PRE&gt;pbiAuthenticate("&lt;SPAN class="pl-smi"&gt;appName"&lt;/SPAN&gt;, "&lt;SPAN class="pl-smi"&gt;clientIdxxxxxx"&lt;/SPAN&gt;, "&lt;SPAN class="pl-smi"&gt;clientSecretxxxxxxxx"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="row text-body"&gt;&lt;PRE&gt;Sign in
Sorry, but we’re having trouble signing you in.

AADSTS500119: Redirect URIs with urn: schemes are prohibited. Use a different scheme, or https://login.microsoftonline.com/common/oauth2/nativeclient&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="row text-body"&gt;The url I am getting error is like this;&lt;/DIV&gt;&lt;DIV class="row text-body"&gt;&lt;A href="https://login.microsoftonline.com/common/oauth2/authorize?client_id=xxxxxxxx&amp;amp;redirect_uri=urn%xxxx%3xxxx%3Aoauth%3A2.0%3Aoob&amp;amp;response_type=code" target="_self"&gt;https://login.microsoftonline.com/common/oauth2/authorize?client_id=xxxxxxxx&amp;amp;redirect_uri=urn%xxxx%3xxxx%3Aoauth%3A2.0%3Aoob&amp;amp;response_type=code&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to publish "datasets" from R? Or which step I need to change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This really important for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I can't use R as a datasource. This process almost takes&amp;nbsp; 3 hours, maybe more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2019 06:41:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-28T06:41:01Z</dc:date>
    <item>
      <title>Power BI REST API WITH R</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-WITH-R/m-p/701040#M19518</link>
      <description>&lt;P&gt;I am having a trouble with power bi rest api. I want to show my analyse results(dataframes) that build by R Programming, on POWER BI. In order to do this I found this R package;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/froocpu/poweRbi" target="_self"&gt;https://github.com/froocpu/poweRbi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all I registered an app following this guide(native app);&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/register-app" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/developer/register-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I successfully completed these steps. Bur when I try to use above library, I am gettin an error;&lt;/P&gt;&lt;PRE&gt;pbiAuthenticate("&lt;SPAN class="pl-smi"&gt;appName"&lt;/SPAN&gt;, "&lt;SPAN class="pl-smi"&gt;clientIdxxxxxx"&lt;/SPAN&gt;, "&lt;SPAN class="pl-smi"&gt;clientSecretxxxxxxxx"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="row text-body"&gt;&lt;PRE&gt;Sign in
Sorry, but we’re having trouble signing you in.

AADSTS500119: Redirect URIs with urn: schemes are prohibited. Use a different scheme, or https://login.microsoftonline.com/common/oauth2/nativeclient&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="row text-body"&gt;The url I am getting error is like this;&lt;/DIV&gt;&lt;DIV class="row text-body"&gt;&lt;A href="https://login.microsoftonline.com/common/oauth2/authorize?client_id=xxxxxxxx&amp;amp;redirect_uri=urn%xxxx%3xxxx%3Aoauth%3A2.0%3Aoob&amp;amp;response_type=code" target="_self"&gt;https://login.microsoftonline.com/common/oauth2/authorize?client_id=xxxxxxxx&amp;amp;redirect_uri=urn%xxxx%3xxxx%3Aoauth%3A2.0%3Aoob&amp;amp;response_type=code&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to publish "datasets" from R? Or which step I need to change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This really important for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I can't use R as a datasource. This process almost takes&amp;nbsp; 3 hours, maybe more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 06:41:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-WITH-R/m-p/701040#M19518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-28T06:41:01Z</dc:date>
    </item>
  </channel>
</rss>

