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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors