Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
We are building a Portal for our clients using Power App Portal and have embedded our Power BI reports using liquid tags. Within our reports we use RLS security based on email address. So we were expecting Power App Portal to send us the user email address when we use Username(). Instead its sending back a GUID. Is there a way to change what Power Apps Portal is sending us in this parameter or pass the email address in another parameter?
Thanks,
Did anyone found solution? I am facing same problem
Hi!
Did you find a solution to this because we are facing the same issue, we used username() and UPN() as the dax filter but we get the guid in the powerapps portal. the RLS works if we filter by guid but we want to filter by email address
Hi Liang,
RLS is enabled in the report and when viewing the report in Power BI service, we do see the email address in the Username(). But once embedded to Power Apps Portal its still shows a GUID. RLS has been setup on the report.
Thanks,
Hi @Anonymous ,
Is RLS enabled in the report?After that was done, Username() returned the UPN of the user using the report. Note that you may need to refresh the report page to see the result.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |