Forum Discussion

alfBI's avatar
alfBI
Responsive Resident
1 year ago
Solved

Granular access to specific objects within the Warehouse does not work using Power Desktop

Hi,

 

We have a Warehouse where we want to restrict access to certain tables when users connect to its SQL End Point. We followed the steps described here

 

https://learn.microsoft.com/en-us/fabric/data-warehouse/share-warehouse-manage-permissions

 

first providing "Read" role to user on the Warehouse

 

and then assigning specific granular rights using T-SQL as follows

 

GRANT SELECT ON Star.COM.DimOBS TO [pbi-test@XXXX];
GO

 

 

Following query confirm provided rights to user

 

 

when connecting to the WH SQL Endpoint thinks works as expected

 

 

 

only the object with assigned rights is visible, but the problem appears when using the same account we use power BI Desktop and we connect to the Warehouse SQL Endpoint

 

 

 

 

Then surpreisingly all the tables of the WH are visible 😞

 

 

 

 

Why using SQL Endpoint with PBI Desktop OLS (Object Level Security) does not apply? It's a limitation or a bug?

 

 

Regards,

 

Alfons

  • Please follow the below steps  :

    My source Warehouse :

     

     

    Share the warehoue with the user to grant him/her connect access by disabling all features:

     

    Then login to Warehouse and execute the below queries :

    GRANT SELECT ON <<TableNme>> TO [<<[email protected]>>];
     
    Post that only specific objects are visible:

     

8 Replies