简体   繁体   English

PowerBI-如何与所有经过身份验证的AD用户共享仪表板/报告?

[英]PowerBI - how to share a dashboard/report to All Authenticated AD Users?

I have a scenario where I need to embed PowerBI dashboards that I am accomplishing by doing the following: 我有一个需要嵌入PowerBI仪表板的场景,需要执行以下操作:

  1. Use ADAL.JS to authenticate the browser user with AD; 使用ADAL.JS通过AD对浏览器用户进行身份验证; then use an AD app to request an access token to powerbi App. 然后使用AD应用程序向powerbi App请求访问令牌。
  2. Pass this access token to PowerBI-Javascript (powerbi.embed) and embed a given dashboard/report into my page. 将此访问令牌传递给PowerBI-Javascript(powerbi.embed),并将给定的仪表板/报告嵌入到我的页面中。

All this works fine. 所有这些都很好。 What I am realizing is that in order for a dashboard/report to be 'embeddable' in this manner, it MUST to be shared first. 我意识到的是,为了使仪表板/报告以这种方式“可嵌入”, 必须首先共享它。 Even when I am the creator/owner of a given dashboard, it will fail to show in the embed scenario unless it is first shared (with me!). 即使我是给定仪表板的创建者/所有者, 除非它先与我共享,否则它将无法在嵌入方案中显示。 Even if the App Workspace is/App is marked public, no dice. 即使App Workspace是/ App标记为public,也不会骰子。

I can live with that. 我可以忍受这一点。

However, what I want to do is to share all such dashboards/reports that need to be embeddable with "All authenticated AD users" so that no one ever gets an access denied error as long as they can auth against AD. 但是,我想做的就是与“所有经过身份验证的AD用户”共享所有需要嵌入的仪表板/报告,这样,只要他们可以针对AD进行身份验证,就不会遇到拒绝访问错误。

Is that possible? 那可能吗?

(Note: the only place I have seen PowerBI offer such an "Entire Organization" option is when publishing an App; but publishing an App <> sharing an App's contents! All this is all not intuitive at all!) (注意:我看到PowerBI唯一提供这种“整个组织”选项的地方是发布应用程序时;但是发布共享应用程序内容的应用程序<> !这一切都不是很直观的!)

You can use several 'sharing' methods. 您可以使用几种“共享”方法。

  1. Apps are used to share artifacts (reports, dashboards) inside your organization. 应用程序用于在组织内部共享工件(报告,仪表板)。
  2. you can use Publish to Web feature, which is the same as embedding, however this grants access to the report to everyone with the link, which makes it visible to audiences you might not want your data visible to. 您可以使用与嵌入相同的“发布到Web”功能,但这会向具有链接的所有人授予对报表的访问权限,从而使您可能不希望看到其数据的受众可以看到该报表。
  3. you can use 'App owns data' scenario of Power BI Embedded, where you have one master user in AAD to authenticate against Power BI and then grant access to whoever you want. 您可以使用Power BI Embedded的“应用拥有数据”方案,在该方案中,您在AAD中拥有一个主用户来针对Power BI进行身份验证,然后将访问权限授予任何您想要的人。

See more about 'App owns data' in: 在以下位置查看有关“应用拥有数据”的更多信息:

https://powerbi.microsoft.com/en-us/power-bi-embedded/ https://powerbi.microsoft.com/zh-CN/power-bi-embedded/

https://guyinacube.com/2017/10/power-bi-embedded/ https://guyinacube.com/2017/10/power-bi-embedded/

https://guyinacube.com/2016/07/3-ways-to-embed-power-bi/ https://guyinacube.com/2016/07/3-ways-to-embed-power-bi/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 PowerBI 示例仪表板添加到静态网站 - How to add PowerBI Sample Dashboard to static website PowerBI如何使用Powerbi JavaScript API在嵌入式报表中获取视觉数据 - PowerBI how to get the visuals data in an embeded report with powerbi javascript api Meteor:如何检测用户是否经过身份验证 - Meteor: How to detect if users authenticated 如何区分经过身份验证的用户? - How can I differentiate between authenticated users? PowerBi 使用 JavaScript 嵌入仪表板 - PowerBi embed dashboard using JavaScript PowerBI 自定义视觉效果 - 如何使用 PowerBI API 以编程方式在自定义视觉效果中的报表页面之间切换? - PowerBI custom visuals - How to programmatically switch between report pages in a custom visual using PowerBI API? 如何在 flutter android 应用程序中嵌入 powerbi 报告? - How to embed a powerbi report within a flutter android application? 如何使用JavaScript或C#获取PowerBI报告的页面标题? - How to get titles of the pages of a PowerBI report in JavaScript or C#? 是否可以加载需要登录并为所有用户显示的仪表板(主)的小部件 - Is it possible to load a widget of a dashboard (master) that requires a login and display for all users 如何使用 php 或 javascript 使站点上的所有用户共享一个通用时区? - how to make all users on site share a universal timezone using php or javascript?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM