How to provide table level access for tables created from Spark in Synapse Serverless Pool

Narender Kumar 70 Reputation points
2023-12-22T12:20:26.0866667+00:00

I am creating some table from spark code.

The same tables are available to query from serverless pool.

When users query from serverless pool, I want to provide access to only some users on some particular tables, databases.

How can I provide access to a single user or AD Group to a single table or database on the tables/databases created using spark code?

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.
{count} votes

1 answer

Sort by: Most helpful
  1. Ashish Kumar 5 Reputation points Microsoft Employee
    2024-03-19T14:00:46.8266667+00:00

    User can access the tables in serverless SQL through the following query :

    GRANT SELECT ON <schema>.<tablename> TO <securitygroup or user>

    0 comments No comments

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.