What permissions are required to run R scripts in Power BI Service

0 votes

What permissions are required to run R scripts in Power BI Service?
I need to determine the specific permissions or roles needed in Power BI Service to run R scripts, ensuring the necessary access control is in place.

6 hours ago in Power BI by Evanjalin
• 36,180 points
11 views

1 answer to this question.

0 votes

To run R scripts in Power BI Service, certain permissions and roles are required to ensure that the necessary access control and security policies are in place. Below are the key permissions needed:

1. Power BI Pro or Premium Per User (PPU) License:

  • To use R scripts in Power BI Service, users need a Power BI Pro license or a Premium Per User (PPU) license. This is because running scripts in Power BI Service is a feature available to users with these licenses.

  • Without the appropriate license, users will not be able to create, view, or interact with reports that contain R visuals.

2. Dataset Permissions:

  • Dataset Permissions: The user running R scripts must have appropriate permissions (e.g., Contributor, Member, or Admin) on the workspace containing the datasets used in the R scripts.

  • Viewer role: Users with only the Viewer role cannot run R scripts because they do not have permission to modify or interact with data in Power BI Service.

  • Dataset Access: To pass data to an R visual, the user needs access to the dataset. Ensure the dataset is shared with them or that they have access to it within the workspace. The R script will only operate on data that the user has access to.

3. Power BI Service Admin Permissions:

  • For administrators who are setting up or managing R scripts in Power BI Service, they will need Power BI Service Admin permissions or higher to configure R scripting capabilities and manage user roles.

  • Admins need to ensure that R scripting is enabled within the Power BI Service for their organization.

4. Execution Rights for R Scripts:

  • R Script Execution Permissions: Power BI Service requires that users running R scripts have execution rights in the Service. This is typically handled via workspace permissions, but the organization’s administrator must also ensure that execution rights for R are enabled at the organization level.

  • Allowing R Scripts: Administrators need to verify that R script execution is permitted within the Power BI Admin Portal. This setting can be configured to allow or block R scripts in the workspace.

5. Workspace Role for R Visuals:

  • To add, modify, or run R visuals in a Power BI report, a user needs to have the following roles in the workspace:

    • Contributor: Can publish and edit reports and datasets, which allows them to run R scripts in Power BI Service.

    • Member: Can manage content within the workspace, including R visuals.

    • Admin: Can configure settings and manage user access to R scripts in the workspace.

  • Users with the Viewer role cannot interact with or run R scripts in Power BI Service because they do not have permissions to modify content.

6. Power BI Admin Portal Settings:

  • In the Power BI Admin Portal, administrators need to enable the R scripting feature to allow users to execute R scripts. The admin can manage the settings to allow or disallow execution of scripts across workspaces or the entire organization.

  • Security Settings: Ensure that security policies are in place to prevent unauthorized execution of R scripts, especially if the R scripts can access or manipulate sensitive data.

answered 6 hours ago by anonymous
• 36,180 points

Related Questions In Power BI

0 votes
0 answers
+1 vote
2 answers
0 votes
1 answer

What are the components I need to excel to become a pro in power BI

Having knowledge about these topics is a must.  Power ...READ MORE

answered Oct 8, 2018 in Power BI by Kalgi
• 52,340 points
1,140 views
0 votes
1 answer

How do you run R script visual in Power BI Service?

Hi, It seems that your data format not recognized correctly ...READ MORE

answered May 21, 2019 in Power BI by Avantika
• 1,520 points

edited May 22, 2019 by Omkar 1,965 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,090 points
1,805 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,090 points
3,171 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,974 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited Mar 5 2,174 views
0 votes
1 answer

What licensing is required to deploy paginated reports in Power BI Service?

Generally, a Power BI Premium license is ...READ MORE

answered Jun 13 in Power BI by anonymous
• 36,180 points
85 views
+1 vote
2 answers

Are there any security considerations when using R or Python scripts in Power BI?

Using R or Python scripts on Power BI has certain security risks , ...READ MORE

answered Jan 23 in Power BI by anonymous
• 36,180 points
441 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP