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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.