synapse workspace - blob storage

arkiboys 9,706 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.
5,373 questions
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee 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


0 additional answers

Sort by: Most helpful

Your answer

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