Hello , Welcome to MS Q&A
Checklist to Resolve the Issue
- Private Endpoint DNS Resolution
Ensure that your Synapse workspace can resolve the private endpoint DNS of the Service Bus. You may need to:
- Configure a private DNS zone for
privatelink.servicebus.windows.net
. - Link this DNS zone to the virtual network used by Synapse.
- Ensure the Service Bus namespace is correctly mapped in the DNS zone.
- Virtual Network Integration
Check that:
- Your Azure Synapse Managed VNET is enabled.
- The private endpoint for the Service Bus is in the same VNET or peered VNET as Synapse.
- Network rules on the Service Bus allow traffic from the Synapse subnet.
- IP Firewall Rules on Service Bus
Even with a private endpoint, if IP filtering is enabled, it might block traffic:
- Go to the Service Bus namespace → Networking → Firewalls and virtual networks.
- Ensure “Allow trusted Microsoft services to bypass this firewall” is enabled.
- Ensure your Synapse workspace's outbound IPs are allowed (if not using managed VNET).
- Authentication
A 401
error can also indicate authentication failure:
- Ensure the Synapse workspace or Spark job is using a valid Azure AD token or connection string with proper rights.
- If using Managed Identity, ensure it has the "Azure Service Bus Data Sender" role on the Service Bus namespace.
Pls let me know if any further ques
Thanks
Deepanshu