Skip to content

Definitions created using 'az synapse spark-job-definition create' do not show in the Workspace UI with Git Integration enabled #23348

@alexszym

Description

@alexszym

Related command
az synapse spark-job-definition create --workspace-name <workspace> --name <job-name> --file @"folder\sparkjob.json"

Describe the bug
When using 'az synapse spark-job-definition create' command I am able to create a sparkjob definition, however that definition is not then visible in the Synapse Workspace UI. I am however able to see it when calling 'az synapse spark-job-definition list'

I have Git integration enabled on that workspace, checked all the branches and can't find the job definition I've created in the UI.

To Reproduce

  1. Export existing job definition from Synapse UI
  2. Change jobProperties.name to be unique.
  3. Run `az synapse spark-job-definition create --workspace-name --name --file @"folder\sparkjob.json" using the previously exported file.
  4. Run az synapse spark-job-definition list --workspace-name <workspace> and verify newly create job definition is visible.
  5. Check UI.

Expected behavior
The created spark job definition is also visible in Synapse Workspace UI

Environment summary

Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.38.0

Extensions:
azure-cli-ml 1.41.0

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions