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.
I cannot seem to get row level security to work with my model.
I have data loaded to a .pbix file and the pbix file has been loaded to a workspace collection.
This is not directquery. The data is in the model.
Should I expect Row Level Security to work for this scenario?
Solved! Go to Solution.
@rnoone wrote:
Ah, thanks. I think I forgot the role name.
RLS works regardless import or direct query mode. Check Row level security with Power BI Embedded.
var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, "User Name", roleList);'
So have you figured out the problem now?
I've not tried it myself, but have you defined the security roles in the model and passed the role through the API call? Is it working for you with direct query or is this the only way you've tried?
Best,
Ah, thanks. I think I forgot the role name.
@rnoone wrote:
Ah, thanks. I think I forgot the role name.
RLS works regardless import or direct query mode. Check Row level security with Power BI Embedded.
var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, "User Name", roleList);'
So have you figured out the problem now?
Yes, thank you. I should have just read the manual.
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 |
---|---|
4 | |
4 | |
3 | |
3 | |
2 |