Azure Synapse API call 403 error when accessing Synapse Notebook with GET method

Vivek Vijay Patil 40 Reputation points
2024-03-07T17:01:28.5066667+00:00

{
    "error": {
        "code": "Unauthorized",
        "message": "The principal '71b82c6f-3c4b-4060-a695-61e366d4f5f8' does not have the required Synapse RBAC permission to perform this action. Required permission: Action: Microsoft.Synapse/workspaces/artifacts/read, Scope: workspaces/viXXXX."
    }
}


Hi I am getting this error when accessing synapse note books through API call , I tried giving every accese possible but error is coming in eveny time I call

API i used

https://viXXXX.dev.azuresynapse.net/pipelines/Pipeline 1?api-version=2020-12-01

Error code2108

Failure typeUser configuration issue

Details{"error":{"code":"Unauthorized","message":"The principal '71b82c6f-3c4b-4060-a695-61e366d4f5f8' does not have the required Synapse RBAC permission to perform this action. Required permission: Action: Microsoft.Synapse/workspaces/artifacts/read, Scope: workspaces/viXXXX."}}

This is ADF error I got

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

Accepted answer
  1. Smaran Thoomu 28,225 Reputation points Microsoft External Staff Moderator
    2024-03-08T09:41:00.36+00:00

    Hi @Vivek Vijay Patil

    Thank you for reaching out to the community forum with your query.

    It looks like you're getting a 403 error when accessing Synapse Notebooks through an API call. The error message indicates that the principal '71b82c6f-3c4b-4060-a695-61e366d4f5f8' does not have the required Synapse RBAC permission to perform this action.

    To resolve this issue, a user with Synapse Administrator role needs to grant the user either of these roles - Synapse Administrator or Synapse Contributor or Synapse Compute Operator within the Synapse Studio -> Manage Hub -> Access control (i.e within Workspace) in order to perform workspaces/bigDataPools/useCompute/action actions.

    74896-image.png

    Please note that Azure RBAC is used to manage who can create, update, or delete the Synapse workspace and its SQL pools, Apache Spark pools, and Integration runtimes. On the other hand, Synapse RBAC is used to manage who can publish code artifacts and list or access published code artifacts, execute code on Apache Spark pools and Integration runtimes, access linked (data) services protected by credentials, monitor or cancel job execution, review job output, and execution logs.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

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.