InSpark
Erwin de Kreuk
Dealing with different Roles
in
Azure Synapse Analytics
InSpark
We help organizations
accelerating their digital
transformation with impactful
Microsoft solutions & expertise
We Are InSpark
InSpark
Roles in Azure Synapse Analytics
InSpark
Access Control
Azure Roles
Synapse Roles
SQL Roles
Git Permissions
Azure Synape
InSpark
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development Resource Group Production
Integration runtimes Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
Data Engineers
Data Scientists
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
InSpark
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development
Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
InSpark
Azure Synapse Analytics
Resource Group Development
Azure Owner or Contributor
 Resource Group
 Create Synapse Workspace
 Manage Synapse Workspace
 Synapse Resource
 Manage Synapse Workspace
Azure Contributor
 Resource Group
 ARM templates for automated deployment
Resource Management
Azure Roles
InSpark
Azure Synapse Analytics
Resource Group Development
Azure Storage Blob Data Contributor
 User and workspace MSI
Reader
 Resource Group or Synapse Workspace
Access Management
Azure Roles
Azure Data Lake Storage
InSpark
Synapse
Administrator
Administrators
Synapse
Apache Spark
Administrator
Synapse SQL
Administrator
Synapse Data
Explorer
Administrator????
Synapse Linked Data Manager
Synapse Credential User
Synapse Contributor
Synapse Roles
InSpark
Azure Synapse Analytics
Resource Group Development
Roles:
 Synapse Administrator
 Synapse SQL Administrator
 Synapse Apache Spark Administrator
 SQL Active Directory Admin
Administrators
Synapse Roles
Azure Data Lake Storage
Analytics runtimes Integration runtimes
InSpark
Activities:
 Can read and write artifacts
 Can do all actions on Spark activities.
 Can view Spark pool logs
 Can view saved notebook and pipeline output
 Can use the secrets stored by linked services or credentials
 Can assign and revoke Synapse RBAC roles at current scope
Synapse Administrator
Synapse Roles
InSpark
Activities:
 Can do all actions on Spark artifacts
 Can do all actions on Spark activities
Synapse Apache Spark Administrator
Synapse Roles
InSpark
Activities:
 Can do all actions on SQL scripts
 Can connect to SQL serverless endpoints with SQL db_datareader,
db_datawriter, connect, and grant permissions
Synapse SQL Administrator
Synapse Roles
InSpark
Non-Administrators
Synapse Roles
Contributor
Artifact
Publisher
User
Artifact
User
Compute
Operator
Linked Data
Manager
Credential
User
InSpark
Roles:
 Synapse Contributor
 Synapse Artifact Publisher
 Synapse Artifact User
 Synapse Compute Operator
 Synapse Credential User
 Synapse Linked Data Manager
 Synapse User
Workspace
Synapse Roles
Integration runtimes
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development
Integration runtimes
Workspace
InSpark
Workspace
InSpark
Workspace Items
Synapse Roles
InSpark
Item:
 Linked Service
 Apache Spark Pool
 Integration Runtime
 Credentials
Workspace Item
Synapse Roles
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development
Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
InSpark
 Role assignment on Workspace or Workspace Item
 Needs to be Synapse Administrator
 Can also be a guest user
 No Synapse Administrator
 Contributor or Owner on the Workspace
 Advice! => create role assignments based on
Security Groups
 Changes in assignments will take up 2-5 minutes
 Changes in SG can take 10-15 minutes
Role Assignment
Synapse Roles
InSpark
 No access message in Azure Portal
 https://web.azuresynapse.net
Tips and Tricks
Synapse Roles
InSpark
 No access message in Azure Portal
 https://web.azuresynapse
 Power BI
 Access is defined on Power BI workspace level
Tips and Tricks
Synapse Roles
InSpark
 No access message in Azure Portal
 https://web.azuresynapse
 Power BI
 Access is defined on Power BI workspace level
 Publish Error
Tips and Tricks
Synapse Roles
InSpark
Administrator
Contributor
Artifact
Publisher
Apache
Spark
Administrator
SQL
Administrator
Artifact
User
Compute
Operator
Credential
User
Linked
Data
Manager
User
workspaces/read
workspaces/roleAssignments/write, delete
workspaces/managedPrivateEndpoint/write, delete
workspaces/bigDataPools/useCompute/action
workspaces/bigDataPools/viewLogs/action
workspaces/integrationRuntimes/useCompute/action
workspaces/integrationRuntimes/viewLogs/action
workspaces/artifacts/read
workspaces/notebooks/write, delete
workspaces/sparkJobDefinitions/write, delete
workspaces/sqlScripts/write, delete
workspaces/kqlScripts/write, delete
workspaces/dataFlows/write, delete
workspaces/pipelines/write, delete
workspaces/triggers/write, delete
workspaces/datasets/write, delete
workspaces/libraries/write, delete
workspaces/linkedServices/write, delete
workspaces/credentials/write, delete
workspaces/notebooks/viewOutputs/action
workspaces/pipelines/viewOutputs/action
workspaces/linkedServices/useSecret/action
workspaces/credentials/useSecret/action
Role actions
Synapse Roles
InSpark
Demo
InSpark
SQL
InSpark
Synapse Administrator:
 db_owner (DBO) permissions on the ‘Built-In’
serverless SQL pool
Synapse SQL Administrator:
 Can do all actions on SQL scripts
 Can connect to SQL serverless endpoints with SQL
db_datareader, db_datawriter, connect, and grant
permissions
Serverless SQL Pool
SQL
Serverless
InSpark
Synapse Administrator:
 Full access to data in dedicated SQL pools
 Grant access to other users
 Perform configuration and maintenance activities
 Can't drop dedicated SQL pools
Synapse SQL Administrator:
 No access by default
Active Directory Admin:
 Full access
Dedicated SQL Pool
SQL
Dedicated
InSpark
Serverless SQL pool:
Dedicated SQL pool:
SQL Pools
SQL
Dedicated
Serverless
use master
go
CREATE LOGIN [erwin.de.kreuk@demo.com] FROM EXTERNAL PROVIDER;
go
use yourdb -- Use your database name
go
CREATE USER demouser FROM LOGIN [erwin.de.kreuk@demo.com];
use yourdb -- Use your database name
go
alter role db_owner Add member demouser
--Create user in the database
CREATE USER [erwin.dekreuk@gmail.com] FROM EXTERNAL PROVIDER;
--Grant role to the user in the database
EXEC sp_addrolemember 'db_owner', 'erwin.dekreuk@gmail.com';
InSpark
Demo
InSpark
Azure Dev Ops:
 Basic user settings
 Azure Artifact Publisher
 Azure Contributor (Azure RBAC) or higher role on
the Synapse workspace
Dev Ops Service Connection:
 Azure Contributor (Azure RBAC) or higher role on
the Resource Group
 Azure Synapse Administrator
Azure Dev Ops
GIT Integration
InSpark
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Azure Synapse Studio
Integration Management Monitoring Security
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development Resource Group Production
Integration runtimes Analytics runtimes Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
Workspace
Data Engineers
Data Scientists
InSpark
Data Engineers
 Needs to access SQL Serverless
 Publish or edit Code
 Debug pipelines
Data Scientist:
 Needs to access SQL Serverless
 Needs access to a specified Spark Pool
 Publish or edit Code
 Submit Spark Jobs
Security Groups
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development
Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
Data Engineers
Data Scientists
InSpark
Demo
InSpark
 Acces to Azure Synapse Studio
 Create SQL Pools/Spark Pools /Data Explorer
Pools
 Execute Notebooks
 View and edit code Artifacts
 Debug or Trigger Pipelines
 Monitor
 Publish Code
Recap
Azure Synapse
Azure Synapse Studio
Integration Management Monitoring Security
Analytics runtimes
Azure Data Lake Storage
Azure Synapse Analytics
Resource Group Development
Integration runtimes
Workspace
Workspace Item
Apache Spark Pool Integration
Runtime
Linked Services Credentials
Data Engineers
Data Scientists
InSpark
@erwindekreuk
https://www.linkedin.com/in/erwindekreuk/
https://erwindekreuk.com
Slides will be available on my blog
InSpark

More Related Content

PDF
Let’s get to know Snowflake
PPTX
Introduction to Azure Databricks
PPTX
Snowflake essentials
PDF
Building Lakehouses on Delta Lake with SQL Analytics Primer
PDF
Azure Synapse Analytics
PPT
An overview of snowflake
PDF
Snowflake for Data Engineering
PDF
Data Warehouse or Data Lake, Which Do I Choose?
Let’s get to know Snowflake
Introduction to Azure Databricks
Snowflake essentials
Building Lakehouses on Delta Lake with SQL Analytics Primer
Azure Synapse Analytics
An overview of snowflake
Snowflake for Data Engineering
Data Warehouse or Data Lake, Which Do I Choose?

What's hot (20)

PDF
Scaling your Data Pipelines with Apache Spark on Kubernetes
PPTX
Snowflake Data Loading.pptx
PDF
Azure Key Vault, Azure Dev Ops and Azure Synapse - how these services work pe...
PDF
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
PDF
Introducing Databricks Delta
PPTX
Snowflake Datawarehouse Architecturing
PDF
A Reference Architecture for ETL 2.0
PDF
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
PDF
Achieving Lakehouse Models with Spark 3.0
PDF
Snowflake SnowPro Certification Exam Cheat Sheet
PPTX
DW Migration Webinar-March 2022.pptx
PDF
A Thorough Comparison of Delta Lake, Iceberg and Hudi
PDF
Snowflake Data Governance
PDF
The Apache Spark File Format Ecosystem
PPTX
Zero to Snowflake Presentation
PDF
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
PDF
Azure Synapse 101 Webinar Presentation
PDF
MySQL 상태 메시지 분석 및 활용
PDF
Actionable Insights with AI - Snowflake for Data Science
PPTX
Azure data platform overview
Scaling your Data Pipelines with Apache Spark on Kubernetes
Snowflake Data Loading.pptx
Azure Key Vault, Azure Dev Ops and Azure Synapse - how these services work pe...
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Introducing Databricks Delta
Snowflake Datawarehouse Architecturing
A Reference Architecture for ETL 2.0
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Achieving Lakehouse Models with Spark 3.0
Snowflake SnowPro Certification Exam Cheat Sheet
DW Migration Webinar-March 2022.pptx
A Thorough Comparison of Delta Lake, Iceberg and Hudi
Snowflake Data Governance
The Apache Spark File Format Ecosystem
Zero to Snowflake Presentation
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Azure Synapse 101 Webinar Presentation
MySQL 상태 메시지 분석 및 활용
Actionable Insights with AI - Snowflake for Data Science
Azure data platform overview
Ad

Similar to Dealing with different Synapse Roles in Azure Synapse Analytics Erwin de Kreuk (20)

PDF
Lake Database Database Template Map Data in Azure Synapse Analytics
PPTX
AzureSynapse.pptx
PPTX
Azure Synapse Analytics Overview (r1)
PPTX
Synapse for mere mortals
PPTX
Big Data and Data Warehousing Together with Azure Synapse Analytics (SQLBits ...
PPTX
Data weekender4.2 azure purview erwin de kreuk
PDF
Azure Purview Data Toboggan Erwin de Kreuk
PPTX
Datasaturday Pordenone Azure Purview Erwin de Kreuk
PPTX
Data saturday Oslo Azure Purview Erwin de Kreuk
PDF
Scaling Data Workflows with Azure Synapse Analytics and PySpark
PPTX
Azure Synapse Analytics Overview (r2)
DOCX
UNIT -IV.docx
PDF
DataMinds 2022 Azure Purview Erwin de Kreuk
PDF
Azure Synapse Overview for data analytics
PDF
introduction to azure synapse analytics.
PPTX
Running cost effective big data workloads with Azure Synapse and ADLS (MS Ign...
PPTX
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
PDF
How Microsoft Synapse Analytics Can Transform Your Data Analytics.pdf
PDF
Azure Data Engineer Training | Azure Data Engineer Course
PPTX
Azure synapse analytics 124737537377 .pptx
Lake Database Database Template Map Data in Azure Synapse Analytics
AzureSynapse.pptx
Azure Synapse Analytics Overview (r1)
Synapse for mere mortals
Big Data and Data Warehousing Together with Azure Synapse Analytics (SQLBits ...
Data weekender4.2 azure purview erwin de kreuk
Azure Purview Data Toboggan Erwin de Kreuk
Datasaturday Pordenone Azure Purview Erwin de Kreuk
Data saturday Oslo Azure Purview Erwin de Kreuk
Scaling Data Workflows with Azure Synapse Analytics and PySpark
Azure Synapse Analytics Overview (r2)
UNIT -IV.docx
DataMinds 2022 Azure Purview Erwin de Kreuk
Azure Synapse Overview for data analytics
introduction to azure synapse analytics.
Running cost effective big data workloads with Azure Synapse and ADLS (MS Ign...
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
How Microsoft Synapse Analytics Can Transform Your Data Analytics.pdf
Azure Data Engineer Training | Azure Data Engineer Course
Azure synapse analytics 124737537377 .pptx
Ad

More from Erwin de Kreuk (7)

PDF
Is there a way that we can build our Azure Synapse Pipelines all with paramet...
PPTX
Is there a way that we can build our Azure Data Factory all with parameters b...
PDF
SQL KONFERENZ 2020 Azure Key Vault, Azure Dev Ops and Azure Data Factory how...
PDF
DatamindsConnect2019 Azure Key Vault, Azure Dev Ops and Azure Data Factory ho...
PDF
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
PDF
DataSaturdayNL 2019 Azure Key Vault, Azure Dev Ops and Azure Data Factory h...
PPTX
TechnoramaNL Azure Key Vault, Azure Dev Ops and Azure Data Factor
Is there a way that we can build our Azure Synapse Pipelines all with paramet...
Is there a way that we can build our Azure Data Factory all with parameters b...
SQL KONFERENZ 2020 Azure Key Vault, Azure Dev Ops and Azure Data Factory how...
DatamindsConnect2019 Azure Key Vault, Azure Dev Ops and Azure Data Factory ho...
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
DataSaturdayNL 2019 Azure Key Vault, Azure Dev Ops and Azure Data Factory h...
TechnoramaNL Azure Key Vault, Azure Dev Ops and Azure Data Factor

Recently uploaded (20)

PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPT
statistic analysis for study - data collection
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
PPTX
Phase1_final PPTuwhefoegfohwfoiehfoegg.pptx
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PDF
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
PPTX
Introduction to Inferential Statistics.pptx
PPTX
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PPTX
CYBER SECURITY the Next Warefare Tactics
PDF
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
PPTX
Managing Community Partner Relationships
PPTX
modul_python (1).pptx for professional and student
PPTX
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
PPTX
Leprosy and NLEP programme community medicine
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PPTX
Topic 5 Presentation 5 Lesson 5 Corporate Fin
PPTX
SET 1 Compulsory MNH machine learning intro
PDF
Global Data and Analytics Market Outlook Report
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
statistic analysis for study - data collection
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
Phase1_final PPTuwhefoegfohwfoiehfoegg.pptx
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
Introduction to Inferential Statistics.pptx
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
CYBER SECURITY the Next Warefare Tactics
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
Managing Community Partner Relationships
modul_python (1).pptx for professional and student
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
Leprosy and NLEP programme community medicine
Pilar Kemerdekaan dan Identi Bangsa.pptx
Topic 5 Presentation 5 Lesson 5 Corporate Fin
SET 1 Compulsory MNH machine learning intro
Global Data and Analytics Market Outlook Report

Dealing with different Synapse Roles in Azure Synapse Analytics Erwin de Kreuk

  • 1. InSpark Erwin de Kreuk Dealing with different Roles in Azure Synapse Analytics
  • 2. InSpark We help organizations accelerating their digital transformation with impactful Microsoft solutions & expertise We Are InSpark
  • 3. InSpark Roles in Azure Synapse Analytics
  • 4. InSpark Access Control Azure Roles Synapse Roles SQL Roles Git Permissions Azure Synape
  • 5. InSpark Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Resource Group Production Integration runtimes Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials Data Engineers Data Scientists Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials
  • 6. InSpark Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials
  • 7. InSpark Azure Synapse Analytics Resource Group Development Azure Owner or Contributor  Resource Group  Create Synapse Workspace  Manage Synapse Workspace  Synapse Resource  Manage Synapse Workspace Azure Contributor  Resource Group  ARM templates for automated deployment Resource Management Azure Roles
  • 8. InSpark Azure Synapse Analytics Resource Group Development Azure Storage Blob Data Contributor  User and workspace MSI Reader  Resource Group or Synapse Workspace Access Management Azure Roles Azure Data Lake Storage
  • 9. InSpark Synapse Administrator Administrators Synapse Apache Spark Administrator Synapse SQL Administrator Synapse Data Explorer Administrator???? Synapse Linked Data Manager Synapse Credential User Synapse Contributor Synapse Roles
  • 10. InSpark Azure Synapse Analytics Resource Group Development Roles:  Synapse Administrator  Synapse SQL Administrator  Synapse Apache Spark Administrator  SQL Active Directory Admin Administrators Synapse Roles Azure Data Lake Storage Analytics runtimes Integration runtimes
  • 11. InSpark Activities:  Can read and write artifacts  Can do all actions on Spark activities.  Can view Spark pool logs  Can view saved notebook and pipeline output  Can use the secrets stored by linked services or credentials  Can assign and revoke Synapse RBAC roles at current scope Synapse Administrator Synapse Roles
  • 12. InSpark Activities:  Can do all actions on Spark artifacts  Can do all actions on Spark activities Synapse Apache Spark Administrator Synapse Roles
  • 13. InSpark Activities:  Can do all actions on SQL scripts  Can connect to SQL serverless endpoints with SQL db_datareader, db_datawriter, connect, and grant permissions Synapse SQL Administrator Synapse Roles
  • 15. InSpark Roles:  Synapse Contributor  Synapse Artifact Publisher  Synapse Artifact User  Synapse Compute Operator  Synapse Credential User  Synapse Linked Data Manager  Synapse User Workspace Synapse Roles Integration runtimes Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Integration runtimes Workspace
  • 18. InSpark Item:  Linked Service  Apache Spark Pool  Integration Runtime  Credentials Workspace Item Synapse Roles Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials
  • 19. InSpark  Role assignment on Workspace or Workspace Item  Needs to be Synapse Administrator  Can also be a guest user  No Synapse Administrator  Contributor or Owner on the Workspace  Advice! => create role assignments based on Security Groups  Changes in assignments will take up 2-5 minutes  Changes in SG can take 10-15 minutes Role Assignment Synapse Roles
  • 20. InSpark  No access message in Azure Portal  https://web.azuresynapse.net Tips and Tricks Synapse Roles
  • 21. InSpark  No access message in Azure Portal  https://web.azuresynapse  Power BI  Access is defined on Power BI workspace level Tips and Tricks Synapse Roles
  • 22. InSpark  No access message in Azure Portal  https://web.azuresynapse  Power BI  Access is defined on Power BI workspace level  Publish Error Tips and Tricks Synapse Roles
  • 23. InSpark Administrator Contributor Artifact Publisher Apache Spark Administrator SQL Administrator Artifact User Compute Operator Credential User Linked Data Manager User workspaces/read workspaces/roleAssignments/write, delete workspaces/managedPrivateEndpoint/write, delete workspaces/bigDataPools/useCompute/action workspaces/bigDataPools/viewLogs/action workspaces/integrationRuntimes/useCompute/action workspaces/integrationRuntimes/viewLogs/action workspaces/artifacts/read workspaces/notebooks/write, delete workspaces/sparkJobDefinitions/write, delete workspaces/sqlScripts/write, delete workspaces/kqlScripts/write, delete workspaces/dataFlows/write, delete workspaces/pipelines/write, delete workspaces/triggers/write, delete workspaces/datasets/write, delete workspaces/libraries/write, delete workspaces/linkedServices/write, delete workspaces/credentials/write, delete workspaces/notebooks/viewOutputs/action workspaces/pipelines/viewOutputs/action workspaces/linkedServices/useSecret/action workspaces/credentials/useSecret/action Role actions Synapse Roles
  • 26. InSpark Synapse Administrator:  db_owner (DBO) permissions on the ‘Built-In’ serverless SQL pool Synapse SQL Administrator:  Can do all actions on SQL scripts  Can connect to SQL serverless endpoints with SQL db_datareader, db_datawriter, connect, and grant permissions Serverless SQL Pool SQL Serverless
  • 27. InSpark Synapse Administrator:  Full access to data in dedicated SQL pools  Grant access to other users  Perform configuration and maintenance activities  Can't drop dedicated SQL pools Synapse SQL Administrator:  No access by default Active Directory Admin:  Full access Dedicated SQL Pool SQL Dedicated
  • 28. InSpark Serverless SQL pool: Dedicated SQL pool: SQL Pools SQL Dedicated Serverless use master go CREATE LOGIN [erwin.de.kreuk@demo.com] FROM EXTERNAL PROVIDER; go use yourdb -- Use your database name go CREATE USER demouser FROM LOGIN [erwin.de.kreuk@demo.com]; use yourdb -- Use your database name go alter role db_owner Add member demouser --Create user in the database CREATE USER [erwin.dekreuk@gmail.com] FROM EXTERNAL PROVIDER; --Grant role to the user in the database EXEC sp_addrolemember 'db_owner', 'erwin.dekreuk@gmail.com';
  • 30. InSpark Azure Dev Ops:  Basic user settings  Azure Artifact Publisher  Azure Contributor (Azure RBAC) or higher role on the Synapse workspace Dev Ops Service Connection:  Azure Contributor (Azure RBAC) or higher role on the Resource Group  Azure Synapse Administrator Azure Dev Ops GIT Integration
  • 31. InSpark Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Azure Synapse Studio Integration Management Monitoring Security Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Resource Group Production Integration runtimes Analytics runtimes Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials Workspace Data Engineers Data Scientists
  • 32. InSpark Data Engineers  Needs to access SQL Serverless  Publish or edit Code  Debug pipelines Data Scientist:  Needs to access SQL Serverless  Needs access to a specified Spark Pool  Publish or edit Code  Submit Spark Jobs Security Groups Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials Data Engineers Data Scientists
  • 34. InSpark  Acces to Azure Synapse Studio  Create SQL Pools/Spark Pools /Data Explorer Pools  Execute Notebooks  View and edit code Artifacts  Debug or Trigger Pipelines  Monitor  Publish Code Recap Azure Synapse Azure Synapse Studio Integration Management Monitoring Security Analytics runtimes Azure Data Lake Storage Azure Synapse Analytics Resource Group Development Integration runtimes Workspace Workspace Item Apache Spark Pool Integration Runtime Linked Services Credentials Data Engineers Data Scientists