Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Power BI REST API WITH R

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;

https://github.com/froocpu/poweRbi

 

 

First of all I registered an app following this guide(native app);

https://docs.microsoft.com/en-us/power-bi/developer/register-app

 

I successfully completed these steps. Bur when I try to use above library, I am gettin an error;

pbiAuthenticate("appName", "clientIdxxxxxx", "clientSecretxxxxxxxx")

 

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
The url I am getting error is like this;

 

Is there another way to publish "datasets" from R? Or which step I need to change?

 

This really important for me. 

 

Note: I can't use R as a datasource. This process almost takes  3 hours, maybe more.

 

 

Thanks in advance.

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.