You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Synapse] az synapse workspace create/update: false warning and malformed argument string in repository validation #34312
In azure/cli/command_modules/synapse/manual/_validators.py, validate_repository_type validates git repository arguments for az synapse workspace create and az synapse workspace update.
There are two bugs in this validator:
Missing comma in repository_config_args:
Lines 59-60 define:
Because of the missing comma after '--root-folder', Python concatenates the two literals into '--root-folder--project-name'. Additionally, ' ,'.join(repository_config_args) places the space before the comma.
Unconditional warning on every workspace create/update:
The function only checks:
ifnamespace.repository_typeisNone:
Because argument validators run for every invocation of the command, creating or updating a workspace without repository configuration options triggers this warning even when none of the repository arguments were passed.
Related command
az synapse workspace create az synapse workspace update
Errors
When running workspace create/update commands, the following warning is logged:
Parameter --repository-type is missing, the following arguments are ignored: --host-name ,--account-name ,--collaboration-branch ,--repository-name ,--root-folder--project-name ,--tenant-id. Repository configuration will not work.
Expected behavior
No warning should be logged if no repository configuration arguments were passed.
If repository configuration arguments are passed without --repository-type, the warning should display properly formatted argument names (--root-folder, --project-name) with standard comma-space separation.
Activity
yonzhan commentedon Oct 31, 2026
Thank you for opening this issue, we will look into it.