Power BI service, disable download of Power BI Report - powerbi

I have published reports from Power BI desktop to Power BI service.
I want the users to be able to do their own analysis with the datasets/data model BUT I don't want them to have the ability to download the .pbix file.
Note: I am not using premium capacity.
I have tried the permissions as well. If the user is a "Viewer" then they cannot access the datasets.
If they are members and contributor then yes they can access the data set, but are also able to download the .pbix file which is what I don't want them to do.

Option 1
The only option is to disable "Export data" option under Admin Portal.
Turning off this option will prevent the whole organization from Exporting data to Excel/CSV , as well as Downloading PBIX file.
The admin portal is accessible to all users who are Global Admins in Office 365 or have been assigned the Power BI service administrator role.
Option 2
Are the members of the O365 group set as members or admins in your app? I had the same issue with one of my reports and changing the users in the group to members took away their ability to download the report as a .pbix.
You can check this by going to the Edit Workspace (same place you set Members can only view Power BI content) and checking the list of users. Each user should have either Admin or Member next to their name. If you do not want the user to have the capability to download the file, you should set them as a member.

When you publish your report from Power BI Desktop, publish it in your "My Workspace", rather than other workspaces where your audience has access to.
This allows your audience to view your dashboard/report, but they don't have the option to "download pbix file". Please see if this option works for you, it's working for me.
Please note, your audience still has ability to "Analyze in Excel" with "Build Permission".

the tenant admin can disable the ability to download .pbix files and paginated reports in Admin portal > Export and sharing settings > Download Reports
it can be applied to the entire org or specific security groups. please see the screenshot attached for details

Related

Sharing of Power BI work to external users

I created a dashboard in Power BI and would like to share the work with my friends through my novypro profile. But in novypro, it asked me for the embedded url. As I am currently using my school mail id for all my Power BI works, I couldn't see the publish to web option in order to get the embedded URL.
In the other links I tried, I learned that I have to check with the tenant option under Admin Portal. But under Admin Portal I couldn't see anything like that and I have attached the image below.
Is there any other way to send our report to the external users?
The reason you can't see any other tenant settings in the Admin portal is that you are not an Admin. You need to ask an admin to allow you to publish to the web.
The Power BI admin portal has settings that control who can publish to
the web. Work with your organization's Power BI administrator to
change the Publish to web tenant settings in the admin portal.
For smaller organizations or individuals who signed up for Power BI,
you may not have a Power BI administrator yet. Follow our process for
admin takeover. Once you have a Power BI administrator, they can
enable creating embed codes for you.
Established organizations usually already have a Power BI
administrator. People in any of the following roles can act as a Power
BI administrator:
Global administrators Users with the Power BI service admin role in
Azure Active Directory You need to find one of these people in your
organization and ask them to update the Publish to web tenant settings
in the admin portal.
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-publish-to-web#find-your-power-bi-administrator
Alternatively you can sign up for your own Developer Tenant, which includes E5 so you can use Power BI there and have full control.

What license can embed a Power BI report to a public web (html file)

Hi I am using a free license of Power BI account to build report. If I want to embed the Power BI report to my company's html page, should I have to own a Pro license to do that?
Basically I am asking after my couple of days of free trial license, can I still have the function to do so?
Thanks
With the free version you can use 'Publish to Web', but reports have to be in 'My Workspace' you'll not be able to share items to web from other workspaces, that will require a Pro license. If the option is turned off in the Power BI tenant, (it is turned off by default) by your Power BI Admin, then you will not be able to publish items at all.
More details on the MS Doc website here: https://learn.microsoft.com/en-us/power-bi/consumer/end-user-features
Please note, publish to web should only be used for data that can be consumed by anyone freely as it is not secure. You haven't mentioned what type of report it is, or the data it will contain in your company's html page. If it contains company confidential data, do not use 'publish to web' as anyone with the url can access the report.
If for example, it shows freely available data, then it is safe to use. Some local authorities use 'Publish to Web' to show data such as bin collection, service KPI's, covid rates, and pollution levels in the city center, all publicly accessible data, presented in a visual manner.
If the data cannot be shared publicly, then your other option is to only share with other Pro users to allow show the page in your website, it will then prompt the user to login Power BI.

Power BI - Difference between Publish to Web and Website (Portal)

I want to know the difference in the following 2 options in Power BI Service -> File -> Embed Report:
Website or Portal
Publish to Web (public)
My observation was that you can use Report Filters in Website or Portal option but Report Filters are disabled in Publish to Web option.
Can someone please answer my following queries:
When should we use each of the 2 options?
Which option needs Power BI Embedded Tokens and Capacity to use in production environment?
Can users use Filtering on the report in both the 2 options?
Thanks!
Gagan
Please find the answer below:
1.Difference between Publish to Web and Publish to Website
Publish to Web:
Report will be public
No need to Login (Anyone with the link can view the report)
With the Power BI Publish to web option :
a. You can easily embed interactive Power BI content in blog posts, websites, emails, or social media.
b. You can also easily edit, update, refresh or stop sharing your published visuals.
Publish to Website:
Report will be private
Need to Login first (Unauthorized personal can’t be able to view the report)
With the Power BI Publish to website option :
a. User who has access to that workspace can see the report.
b. User who is member of your organization can see report from that workspace.
2.You don't need the Tokens and Capacity to publish the reports to web or website.
3.Filtering with Publish to Website and Publish to Web
With Publish to Website you can use filtering.
With Publish to Web to use the filtering on the report, you need to have the Power BI Pro License.
Publish to web does not allow display of the filter pane and tabs - at least as for now according to the Microsoft - see this link and the section called "Considerations and Limitations": https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-report-filter. So if you have filters in the filter pane you would have to move them over to the main content of the report - not ideal if users are already used to using filters on the filter pane.
Publish to website or portal will just give you an iframe with a private URL and when users load the web page they will have to authenticate.
In order to embed and authenticate on behalf of all the users you will need a token. One way to do this is using principal service account - this way you won't be supplying any user account credentials. This workflow is well documented and you can even download a test application with working code where you would need to supply your values such as workspace id, report id, tenant id, application id and finally application secret. Get started with token authentication using this link: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-tokens. Double check token expire date and set it appropriately.

How do i allow a user to export a report to pdf from power bi service

I created a report and have shared it with the individual who requested it. I have the capabilities to export the report to a pdf from the power bi service, and need to see if i can let that user do the same. Anyone know how to accomplish this, and if not, is there an alternative that will easily capture the report at that time and allow them to take notes of it. Thank you for the help!
This should be controlled in the Tenant Settings of the Admin Portal.

How to apply filter in PowerBI WebApp

I have created one WebApp which is hosted on Azure IIS. I am calling PowerBI reports & Dashboards and rending them into my WebApp.
I need to apply following functionality and I am unable to find solution online.
Users can filter the data from filters available in PowerBI from Web Application.
Row Level Security can be applied when we call PowerBI reports and render into web page.
It is not clear what kind of URL you are using to embed the reports. Essentially, there are 3 URLs that you can use to display a report in your web app:
The URL taken from your browser's address bar. In this case the use of you web app needs to be logged in Power BI service and to be granted with rights to see this report. One of the disadvantages are that in your web app you will not see the report only, but the whole Power BI page (including the navigation menu at the left).
The URL taken when you share this report publicly using Publish to web. In this case only the report will be embedded in your web app (menus will not be visible), but you can't do that for reports over RLS enabled datasets (because RLS requires user's identity, while in this case the access is anonymous).
The embedUrl of the report (or tile, or dashboard) that you can obtain using the Power BI REST API. It is usually used when you have a dedicated capacity assigned to this workspace (Power BI Embedded). In this case there are two scenarios - "User own data" and "App own data". In the first one each of your users must have their own account and rights to see the report (as in #1). In the later scenario, you use one shared "master account" in your web app to get access to the report and there is no need for your users to authenticate themselves. You can take a looks at the samples to see how it works. Essentially, you need the JavaScript Power BI client, one HTML page with a and some JavaScript code to load the report in the (check powerbi.js, ReportLoader.html and ReportLoader.js files from the samples. A good place to start is this article - Tutorial: Embed a Power BI report, dashboard, or tile into an application for your customers.
To apply filters to the embedded report, you can use one of the recently new features (if I'm correct, it is available since August 2018) and add the filters in the URL. I'm not sure will this work in case #2, but I will not recommend using it anyway.
RLS is not possible with case #2. In cases #1 and #3 RLS will simply work. With #3 if you use "app own data" scenario, for the RLS to work you need to pass user's name and role when you generate the token to access the report (because otherwise for all user's requests Power BI will always see the identity of your "master account" and RLS will not make any sense). This is specified with EffectiveIdentity parameter.
You also attached "power-bi-report-server" to your question, but at the same time you are saying that your web app is running in Azure. If after all your reports are on Power BI Report Server on premise, then you can embed reports by passing rs_embed=true parameter at report's URL too. In this case to make RLS work you just need to make sure that your users are authenticated with their own accounts. Passing filters in the URL works with the recent versions too (it was broken in March 2018, but fixed in 15.0.2.389).