Azure Synapse Analytics - AccessDeniedException -> 6002 & 403 Errors from Firewall rules

Prodand 1 Reputation point
2022-10-10T15:53:07.203+00:00

When I added firewall rules I get those errors.
From Pipeline
"errorCode": "6002",
"message": "Exception: Failed to create Livy session for executing notebook. Error: Received exception with statusCode=[400]. Message=[[traceId=91d5a9c1-e439-4590-94b6-6d681d2cae9d | client-request-id : 5624e403-1eed-4bb6-a685-9172fe8c03ec] Either the cores or memory of the driver, executors exceeded the SparkPool Node Size.\nRequested Driver Cores:[8]\nRequested Driver Memory:[56g]\nRequested Executor Cores:[8]\nRequested Executor Memory:[56g]\nSpark Pool Node Size:[Small]\nSpark Pool Node Memory:[28]\nSpark Pool Node Cores:[4]] HTTP status code: 400. Trace ID: 5624e403-1eed-4bb6-a685-9172fe8c03ec.",
"failureType": "UserError",
"target": "BR_Hyperion_Transformations",
"details": []

From notebook:
MetaException(message:Got exception: java.nio.file.AccessDeniedException Operation failed: "This request is not authorized to perform this operation.", 403 synapse

I have an Access Control role as Storage Blob Data Contributor in Storage account

In the firewall rules, I have added as a Resource Instances -> Resource type the Microsoft Synapse/workspaces and I have added the relevant resource

This is a firewall issue because when selecting the "Enabled from all networks" choice everything is working fine. Did anyone faced the same issue before and can assist?

Any help very welcome.

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.
5,377 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2022-10-11T08:02:30.46+00:00

    Hello @Prodand ,

    Thanks for the question and using MS Q&A platform.

    When public network access is disabled, you can connect to your workspace only using private endpoints.

    For more details, refer to Azure Synapse Analytics connectivity settings and Synapse Managed private endpoints.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators

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.