This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I expose data:
I use the App Owns Data project, a basic project, since it doesn't ask for user/pwd and creates the embed whoever it is.
In homcontroller.cs:
There is the basic structure where is index:
public ActionResult Index(string nombre) {
return View();
}There is also the report part:
public async Task<ActionResult> Dashboard() {
DashboardEmbeddingData embeddingData = await PbiEmbeddingManager.GetDashboardEmbeddingData();
return View(embeddingData);
}
The question is, is there a chance for it to show Dashboard if it meets a requirement?
Something similar to an if…
if (login == "pepe")
{
DashboardEmbeddingData embeddingData = await PbiEmbeddingManager.GetDashboardEmbeddingData();
return View(embeddingData);
}
return View(); Basically make it only go to the Dashboard page if it meets, if it doesn't meet I would like it to go to the Index page
Thank you very much
Hi @apenaranda ,
Please review the following links, hope they can help you get the solution.
Row-level security with Power BI Embedded
Power BI Embedded Row Level Security
Since the "App Owns Data" only use one Power BI account, we can't identify the end users (your application users) with Power BI accounts.
1. No, the users are your application users.
2. In one words, there is only one Power BI account in this scenario. The end users are identified by the tokens. So it won't work here that we assign roles in Power BI Service. Please refer to: #considerations-and-limitations.
>>>Assignment of users to roles within the Power BI service does not affect RLS when using an embed token.
3. Yes, if we assign roles to users in the Service, they must be Power BI users. But this won't be necessary in this scenario. Please refer to the item 2 above for reasons.
Best Regards
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |