Azure synapse Write access to spark pool not working

Chavi Gupta 121 Reputation points Microsoft Employee
2024-08-09T22:12:32.2766667+00:00

Hi,

I am trying to install a package from azure devops to a synapse spark pool. I am getting an error for my managed identity that it does not have authorization to perform action 'Microsoft.Synapse/workspaces/bigDataPools/write'.
The managed identity has 'Azure Service Deploy Release Management Contributor' role assigned in azure portal.

It also has the following role assignments in synapse studio-
Synapse Compute Operator, Synapse Administrator, Synapse Apache Spark Administrator, Synapse Artifact Publisher.

Why am I still getting the unauthorized error?

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,939 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
815 questions
0 comments No comments
{count} votes

Accepted answer
  1. Konstantinos Passadis 19,166 Reputation points MVP
    2024-08-09T22:26:00.1666667+00:00

    Hello @Chavi Gupta !

    I can see that the issue is in Authorization

    All the RBAC roles described here

    https://learn.microsoft.com/en-us/azure/synapse-analytics/security/synapse-workspace-synapse-rbac-roles

    DO not contain the 'Microsoft.Synapse/workspaces/bigDataPools/write role

    My suggestion:

    Create a new Custom Role and add this Permissions

    User's image

    Select start from scratch , ADD Permissions and find :

    User's image

    Assign the role to the Identity and retry !

    --

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards


5 additional answers

Sort by: Most helpful
  1. Konstantinos Passadis 19,166 Reputation points MVP
    2024-08-09T23:57:18.06+00:00

    Hello @Chavi Gupta !

    I suppose this is what you did right ?

    User's image

    Kindly let us know !

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards


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.