Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Need a suggestion:
My requirement -
In my ASP.NET + Embedded Power BI application if a user belongs to group A then I have to show Report A and if he belongs to group B then I have to show Report B
In order to control which user belongs to which group I can either create a web page in my asp.net application which simply lists user with option to select him to add to group A.
Alternatively I was thinking to create a role in PowerBi.com and add users to this group and programatically detect if user belongs to this group and if so programatically launch report A or report B accordingly.
However as I understand Embedded Power BI API does not support detecting whether a user belongs to certain group or not.
Any idea or alternative ?
Thanks
@shaileng wrote:
Need a suggestion:
My requirement -
In my ASP.NET + Embedded Power BI application if a user belongs to group A then I have to show Report A and if he belongs to group B then I have to show Report B
In order to control which user belongs to which group I can either create a web page in my asp.net application which simply lists user with option to select him to add to group A.
Alternatively I was thinking to create a role in PowerBi.com and add users to this group and programatically detect if user belongs to this group and if so programatically launch report A or report B accordingly.
However as I understand Embedded Power BI API does not support detecting whether a user belongs to certain group or not.
Any idea or alternative ?
Thanks
@Anonymous
If user refers to Power BI users, then it is the Embedding for your organization scenario. In this scenario, you can define groupA and groupB in your application and embed reportA and reportB individually, however those reportA and reportB have to be accessible for those users in Power BI. Power BI detects the users after login.
If user refers to your App users, then it is Embedding for your customers scenario. In this case, you just publish reports to Power BI services and embed with a master account. All access control is customized by yourself, the users even don't have to be aware of Power BI. you can define groupA and groupB in your application and embed reportA and reportB individually, every user has access to the embedding page can view the reports. No detection from Power BI(actually Power BI detects your master account) at all.
I think you're going to want to control visibility of the links to the reports within your application. With Embedded, the server just know about the groupid & reportid and has no idea what rights a user, logged into your application, has.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |