Share via

synapse workspace - blob storage

arkiboys 9,711 Reputation points
2021-08-12T10:52:54.267+00:00

Hello,
In synapse workspace, I am using serverless sql pool:
I have created a number of hierarchies in the blob storage
For example:
folder1, folder2, etc.
In addition, I have created a number of SQL Scripts which create views with schemas to read the data from the blob storage folder files...
At present, I have added the Power BI users to the list of the "Storage Blob Data Contributor"
Now the power BI users can see the views I created above.
Question:
How is it possible to limit the power BI users to the views inside a specific schema, say schemaX ?

Thank you

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.


Answer accepted by question author

KranthiPakala-MSFT 46,827 Reputation points Moderator
2021-08-26T05:10:15.473+00:00

Hi there,

Thanks for getting back and apologies for the delay. You can also DENY permission to user which will accomplish your request that users don’t have access for Schema1 and Schema2.

Sample Query:

DENY ADMINISTER DATABASE BULK OPERATIONS TO [******@contoso.com]  
GO  
GRANT SELECT ON SCHEMA::SchemaX TO [******@contoso.com]  
GO  
GRANT SELECT ON OBJECT::SchemaX.cases TO [******@contoso.com]  
GO  
GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::MySchemaXAccountCredential TO [******@contoso.com]  
GO  

You can find more details here: Access and permissions for logical Datawarehouse with Serverless SQL pool

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.