question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az synapse trigger update issues

See original GitHub issue

This 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:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
solwr-sskcommented, Jun 8, 2022

Install worked but upgrade does not azure-cli 2.37.0 I have switched to az rest, might try az synapse after it is out of preview.

0reactions
RakeshMohanMSFTcommented, Jun 8, 2022

Thank you for the update @solwr-ssk Shall i mark this issue as closed?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found