This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello Experts,
I am stuck with Power-Bi gateway(Personal mode) configuration for R script which is running in PowerBi application.
Only "Windows" authentication mode is coming .
Error:- "Fail to update data source credentials"
Need your immediate attention.
Regards,
Shailendra
+91 9739144111
Solved! Go to Solution.
Hi @shail,
Please take a look at following link who told about use r visual and its limitation:
Creating R visuals in the Power BI service
R visuals are created from R scripts, which could potentially contain code with security or privacy risks.
These risks mainly exist in the authoring phase when the script author run the script on their own computer.
The Power BI service applies a sandbox technology to protect users and the service from security risks.
This sandbox approach imposes some restrictions on the R scripts running in the Power BI service, such as accessing the Internet, or accessing to other resources that are not required to create the R visual.
R visuals in the Power BI service have a few limitations:
There are a handful of requirements and limitations for R packages:
For Power BI Desktop has two variations for R packages:
Regards,
Xiaoxin Sheng
Is R script run supported by default on public gateway? Is private gateway the only option like Python?
Hello Experts, I am stuck with Power-Bi gateway(Personal mode) configuration for R script which is running in PowerBi application. Only "Windows" authentication mode is coming . Error:- "Fail to update data source credentials" Need your immediate attention. Regards, Shailendra +91 9739144111
Hello Shai,
Did you manage to run the R script on the online version? I am fetching my data using an R script, this works fine in the desktop version but I am getting a gateway error when trying to refresh on the online version.
Any ideas?
Andres
Hi @shail,
Please take a look at following link who told about use r visual and its limitation:
Creating R visuals in the Power BI service
R visuals are created from R scripts, which could potentially contain code with security or privacy risks.
These risks mainly exist in the authoring phase when the script author run the script on their own computer.
The Power BI service applies a sandbox technology to protect users and the service from security risks.
This sandbox approach imposes some restrictions on the R scripts running in the Power BI service, such as accessing the Internet, or accessing to other resources that are not required to create the R visual.
R visuals in the Power BI service have a few limitations:
There are a handful of requirements and limitations for R packages:
For Power BI Desktop has two variations for R packages:
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 49 | |
| 27 | |
| 21 | |
| 20 | |
| 20 |