az synapse trigger update issues
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az synapse trigger update
Errors:
The command failed with an unexpected error. Here is the traceback:
'properties'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/synapse/manual/operations/artifacts.py", line 142, in create_or_update_trigger
properties = Trigger.from_dict(definition_file['properties'])
KeyError: 'properties'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az synapse trigger update --file {} --name {} --workspace-name {}
Expected Behavior
Environment Summary
Linux-5.13.0-35-generic-x86_64-with-debian-11.0, Ubuntu 21.10
Python 3.6.10
Installer: DEB
azure-cli 2.32.0 *
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
az synapse trigger - Microsoft Learn
Update an exist trigger. Pay attention to add "@" at the front of the file path as the best practice for complex arguments...
Read more >Start-AzSynapseTrigger throws error but starts the trigger
Description When using the {Start-AzSynapseTrigger} PS cmd in Azure Powershell 5.0 task in Azure DevOps pipeline, the cmd fails with the ...
Read more >A Synapse Trigger created via azure cli is missing in Synapse UI
Using Azure Synapse, I had some issues when publishing the workspace after creating and deleting some triggers.
Read more >How to Dynamically Create Triggers in Azure Synapse Pipelines
Triggers in Synapse pipelines determine when a particular pipeline(s) should be run. In an Azure Synapse environment, pipeline runs are typically ...
Read more >Synapse CICD – Manage Triggers - dba2.o - WordPress.com
Manage the Synapse pipeline triggers as part of your CICD DevOps ... Azure Automation Account (requires modules Az.Accounts and Az.Synapse).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Install worked but upgrade does not
azure-cli 2.37.0
I have switched toaz rest
, might tryaz synapse
after it is out of preview.Thank you for the update @solwr-ssk Shall i mark this issue as closed?