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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.