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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.