Trying to set auto refresh for the dashboard created with DataSource using excel file located in the share point folder through Get data - Web option. In the Data source credentials, I am using authentication option as Oauth and privacy level as Organizational, but I am getting below error:
"The OAuth authentication method isn't supported for this data source. Contact your admin." Attaching image for reference.
I am expecting it to take Oauth2 as authentication method with Organizational as privacy setting to configure the data source with the excel file shared from the SharePoint folder.
Related
I am working on a project where we need to embed a Power BI Report in to React application.
We are generating a token using service principal with that we are loading the embed report
We are using a single multitenant database so we have all customer info in the single database.
For some reason I couldn't not use RLS filtering. I want to use custom filters to filter the Embeded Report.
Is the custom filter is secured? If I access the report embed url directly then it is not loading anything, so can I consider generating token and connecting embed report is secured option?
I want to know custom filtered option is secured or not.
Is the custom filter is secured?
It's a Javascript API, so it runs in the user's browser, and so it's not secured.
We are using a single multitenant database so we have all customer info in the single database.
In this scenario either use RLS or create separate Datasets for each tenant.
Securing your data
If you're handling data from multiple customers, there are two main
approaches to securing your data: Workspace-based isolation and
Row-level security-based isolation. You can find a detailed comparison
between them in service principal profiles and row level security.
We recommend using workspace-based isolation with profiles, but if you
want to use the RLS approach, review the RLS section at the end of
this article.
Generate an embed token - Securing your data
I am creating a power bi report with multiple tables sources from web and salesforce. when I publish the report and set schedule refresh, I was asked to update data source credentials. I have updated credentials for web data sources. but when i update credentials for salesforce, its giving me an error
I am able to validate the same credentials in power bi desktop and it works without any issue. but only on power bi service, I am getting this error. Not sure what could be the issue here. please help.
Go to Salesforce, find the connecting user and at the bottom there should be login history. Do you see any errors there? Maybe "Restricted IP" (ask your SF admin to check this user's profile & allowed login IP ranges), maybe "Security token required" (ask sf admin, there's something you need to append at the end of password)...
If your app uses "connected app" (set of OAuth2 keys) there might be some config in SF needed like "all users can self authorise" or add your server to list of allowed callback urls...
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.
Yesterday I've configured a new project in the Cloud Platform and added the Sheets API to it and made functions to generate access_token to make API calls (in Elixir programming language). Today, when creating a new spreadsheet with the access token, the responde body returns me the spreadsheet and all the info about it, but, when accessing the Drive of the account that I've used on the Google Cloud console to create the new project I can't find the sheet there. Plus, when clicking in the spreadsheet url provided on the response body it prompts me to the Request Access page (when I'm trying to access with the email that holds the project # Cloud platform).
So the questions are, where are the files being stored and how can I access them?
Thanks in advance!
We're trying to embed a GDS private report in our customer portal and we hope to filter the data using the email of the person connected to our customer portal . some of our users are no google users (they dont have an account gmail) and they're connected to this portal with an email and password form of authentification.
Our data is stored in Google Storage and we use Bigquery for querying and we use BQ connector to connect BQ and Google Data Studio.
There is any solution to do this ? parameters in GDS report URL ? Through API?
Any help will be appreciated.
Taoufiq.
The documentation states that the only sharing options are: a) Making the report public, or b) Have the user authenticate with a google account. Unfortunately, it neither has an API, nor support for parameters through URL yet.
This is possible to do using Community Connectors and some minor development work in your portal. You will need to pass a short lived unique token as a parameter for the embedded report and then have an API or some other way to tie that token to a user identity. This solution guide has instructions for this specific use case.