Azure Synapse Pipeline Deployment using ARM Template through Azure CLI
See original GitHub issueDescribe the bug
I have a pipeline published in Azure Synapse studio. I tried to export as template and deploy this template in an another workspace using Azure CLI (version 2.40.0). But the command is failing with a generic error. I checked to import the pipeline in the Synapse Studio UI and it worked.
Command Name
az deployment group create
Errors:
{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"\"\r\n }\r\n}"},{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"\"\r\n }\r\n}"},{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"\"\r\n }\r\n}"},{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"\"\r\n }\r\n}"}]}}
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…
- Create pipeline in synapse studio.
- Click in export template.
- Run the below CLI command in local powershell terminal to deploy the template in another synapse studio.
az deployment group create --name {DEPLOYMENT_NAME} --resource-group {RG_NAME} --template-file {path to deploymentTemplate JSON file}
Expected Behavior
It must create the desired Synapse pipeline in synapse studio.
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.10.5
Installer: MSI
azure-cli 2.40.0
Extensions:
application-insights 0.1.16
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Deploy an Azure Synapse Analytics workspace using an ARM ...
Here's how to deploy an Azure Synapse Analytics workspace using an Azure Resource Manager (ARM) template.
Read more >Azure deployment templates with Azure CLI - Microsoft Learn
This article explains how to use Azure CLI with Azure Resource Manager templates (ARM templates) to deploy your resources to Azure.
Read more >Continuous integration & delivery in Azure Synapse Analytics
First, use an Azure Resource Manager template (ARM template) to create or update workspace resources (pools and workspace). Then, migrate ...
Read more >Quickstart: Create an Azure Data Factory using ARM template
This quickstart describes how to use an Azure Resource Manager template (ARM template) to create an Azure data factory. The pipeline you ...
Read more >Create an Azure Synapse workspace using an ARM template
Deploy the template · Subscription: Select an Azure subscription. · Resource group: Select Create new and enter a unique name for the resource ......
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
@zhoxing-ms I am looking into it. @Abhinavgundapaneni Can you you verify if these resources referred/used in your deployment exists? /subscriptions/SubscriptionId/resourcegroups/rgroup/providers/Microsoft.Synapse/workspaces/wid/datasets/DS_JSON_File?api-version=2019-06-01-preview
/subscriptions/subscriptionid/resourcegroups/rgroup/providers/Microsoft.Synapse/workspaces/wid/managedVirtualNetworks/default?api-version=2019-06-01-preview
Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!