Azure / Azure/azure-sdk-for-python
Synapse Workspace trustedServiceBypassEnabled property has no effect on create or update
- 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**

**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
Assessment
This issue has not been assessed yet.