Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DataFactory: Deployment Failed: At least one resource deployment operation failed

I am trying to deploy Azure Data Factory from development to Test and Production instances using Azure DevOps. The pipeline steps include:

  1. Copying the Linked Templates to a storage account (Azure PowerShell Task).
  2. Disabling the triggers (Azure PowerShell Task).
  3. ARM Template Deployment (Azure Resource Group Deployment Task).
  4. Enabling the Triggers (Azure PowerShell Task).

I have set the override parameters for Test and Production Tasks. The deployment to the Test Data Factory completed successfully. However, when I tried deploying it to the Production Data Factory, it failed giving the following error :

There were errors in your deployment. Error code: DeploymentFailed.
2022-11-24T14:20:51.2337688Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
2022-11-24T14:20:51.2339819Z ##[debug]Processed: ##vso[task.issue type=error;]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
2022-11-24T14:20:51.2340752Z ##[error]Details:
2022-11-24T14:20:51.2341700Z ##[debug]Processed: ##vso[task.issue type=error;]Details:
2022-11-24T14:20:51.2343511Z ##[error]DeploymentFailed: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
2022-11-24T14:20:51.2351532Z ##[error]Task failed while creating or updating the template deployment.
2022-11-24T14:20:51.2352528Z ##[debug]Processed: ##vso[task.issue type=error;]Task failed while creating or updating the template deployment.
2022-11-24T14:20:51.2361768Z ##[debug]Processed: ##vso[task.complete result=Failed;]Task failed while creating or updating the template deployment.

I checked the steps for Test and Production tasks, and both seems correct to me. The Resource Group, Data Factory name, template parameters all have been set up. How do I resolve this, since the error doesn't point to anything specific?

like image 494
AJ31 Avatar asked Oct 16 '25 05:10

AJ31


1 Answers

The issue was with my connection to the Shared Integration Runtime for Data Factory. So, the steps I followed were as follows :

  1. In the Azure Portal, go to your Resource Group -> Activity Log enter image description here
  1. Here, I found the exact cause of my Data Factory deployment failing.
Access denied. Unable to access shared integration runtime 'integrationRuntimeSelfHosted'. Please check whether this resource has been granted permission by the shared integration runtime.
  1. Then I went to the Data Factory, where I had created the integration runtime and granted access to the new Data Factory which I was trying to deploy.

  2. Go to Azure DevOps -> Deploy the Pipeline again.

Following the above steps helped me resolve my issue.

like image 173
AJ31 Avatar answered Oct 19 '25 00:10

AJ31