How do we add user to synapse analytics workspace ?

Anbu.Dhanushkodi 1 Reputation point
2020-07-13T14:14:27.267+00:00

Hi, How do i add AAD user to a specific Synapse Analytics Workspace. At the moment it is showing only SQL Pool Admin, Spark Admin and Workspace Admin.

I want to just add end user to a workspace so that they can work with it. In Azure Databricks we used set it under Workspace Access Control.

thanks

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.
4,504 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,985 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,381 Reputation points Microsoft Employee
    2020-07-13T22:29:34.033+00:00

    Hello ,
    You can execute the below script from the WS or from SSMS and it should do the trick .

    CREATE USER [YourUserAlias@YourDomain.com] FROM EXTERNAL PROVIDER  
    EXEC sp_addrolemember 'db_owner', 'YourUserAlias@YourDomain.com';  
    

    For the roles( db_owner on the abnove example I think we have many option :)

    11898-capture.png

    Do let me know how it goes .

    Thanks& stay safe
    Himanshu
    Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members