Azure / Azure/azure-sdk-for-python

Synapse Workspace trustedServiceBypassEnabled property has no effect on create or update

Open
#38,478 1 comment 0 reactions 0 assignees View on GitHub
customer-reported Mgmt needs-team-attention question Service Attention Synapse
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

- **Package Name**: azure-mgmt-synapse
- **Package Version**: 2.0.0
- **Operating System**: Windows 10 Pro 22H2
- **Python Version**: 3.10.7

**Describe the bug**

Setting the `trustedServiceBypassEnabled` property to `True` on workspace creation or update has no effect on the workspace's _"Allow Azure services and resources to access this workspace"_ checkbox under **Synapse workspace > Security > Networking > Firewall rules**.

**To Reproduce**

Use the Python sample request available at [Workspaces - Create Or Update - REST API (Azure Synapse) | Microsoft Learn](https://learn.microsoft.com/en-us/rest/api/synapse/resourcemanager/workspaces/create-or-update?view=rest-synapse-resourcemanager-2021-06-01&tabs=Python) and extend it with:

```python
workspace_info={
"properties": {
"trustedServiceBypassEnabled": True
}
}
```

**Expected behavior**

The _"Allow Azure services and resources to access this workspace"_ checkbox is ticked upon workspace creation or update.

**Screenshots**

![Image](https://github.com/user-attachments/assets/102f1652-7c6f-4f87-995f-5483dab7be19)

**Additional context**

https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/models/_models_py3.py#L13458

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.