简体   繁体   English

Power Bi Embedded Rest API共享报告

[英]power bi embedded rest api share report

I am trying to use power bi embedded service rest apis with a pro account, I have gone through the rest api reference guide - 我正在尝试通过专业版帐户使用Power Bi嵌入式服务的REST API,我已经阅读了REST API参考指南-

https://docs.microsoft.com/en-us/rest/api/power-bi https://docs.microsoft.com/en-us/rest/api/power-bi

The issue is that am unable to share a report with a particular set of users with the api, now i know that we can with rest api create appspaces/groups, and add users to group, but thats at the group level. 问题是无法使用api与特定的一组用户共享报告,现在我知道我们可以使用rest api创建应用程序空间/组,并将用户添加到组中,但这就是在组级别上。 I want to basically give permission at the report level. 我基本上希望在报告级别获得许可。 It is very easily possible from the app.powerbi.com portal by going into the share option. 通过进入共享选项,可以很容易地从app.powerbi.com门户中实现。 But there is no api that i can find to share a report to a user in an appspace. 但是我找不到可以在appspace中与用户共享报告的api。

We are stuck in our POC because of this as report level security is basic and a must have requirement for any kind of custom usage. 由于这一原因,我们陷入了POC中,因为报告级别的安全性是基本的,并且必须对任何类型的自定义用法都具有要求。

Currently Power BI REST API doesn't allow you to do that. 当前,Power BI REST API不允许您执行此操作。 As you said, you can only manage users on workspace level. 如您所说,您只能在工作空间级别上管理用户。 If you need such dynamic report level management, you can try to achieve this by removing the rights of your users on the workspace and embed the reports in some application, implementin " app own data " scenario. 如果您需要这样的动态报告级别管理,则可以尝试通过删除用户在工作区上的权限并将报告嵌入到某些应用程序中(在“ 应用程序自己的数据 ”方案中实现)来实现此目的。 This way you will be able to manage user's access in your application, while the reports will be always accessed with your "master account". 这样,您将能够在应用程序中管理用户的访问,而报表始终将通过您的“主帐户”进行访问。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM