Forum Discussion
Sreepriya
3 years agoRegular Visitor
How to create RLS roles to a dataset which is published in power Bi service using TOM
Hi,
It would be helful if anyone can share some information about how to add RLS roles in to a dataset file published in service using TOM. (Without opening the dataset file in Power BI desktop)
Basically I am looking for code to create RLS roles using TOM.
Please help!
1 Reply
- TomMartensSuper User
Hey Sreepriya ,
if you have Premium you can use the XMLA endpoint:
Dataset connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft Learn
Hopefully, this provides an idea of how to tackle your challenge.
Regards,Tom