Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a problem concerning the Power BI REST API and OLS security.
I'm using the REST API with a Service Principal, in particular the “GetScanResult” call I get metadata that I exploit to make documentation.
In particular, I obtain dataset metadata with the list of tables and their description, the list of columns and their description, and the list of measures and their description.
This works perfectly except for one dataset, where an OLS security is applied. This completely blocks the extraction of the metadata mentioned.
I've tried several solutions, such as integrating the Service Principal into a Workspace Administrator role, or integrating the Service Principal into a "full access" OLS security role, but the metadata still won't come up.
Have you encountered this before? Does anyone have a solution?
Thanks for your help!
Solved! Go to Solution.
Hi @mathsab,
Thank you for reaching out to Microsoft Fabric Community.
Power BI enforces OLS at the engine level, when metadata is requested through APIs, OLS hides metadata from all users including Service Principals. So even there is admin or scan level access OLS still applies. Currently there is no way to skip OLS via the API, even with full workspace or dataset level permissions. At this time this is a known limitation with the security and data protection model, so please follow below steps:
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi @mathsab,
Thank you for reaching out to Microsoft Fabric Community.
Power BI enforces OLS at the engine level, when metadata is requested through APIs, OLS hides metadata from all users including Service Principals. So even there is admin or scan level access OLS still applies. Currently there is no way to skip OLS via the API, even with full workspace or dataset level permissions. At this time this is a known limitation with the security and data protection model, so please follow below steps:
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |