azureazure-pipelinesdata-migration

Import multiple zip files data through Azure DevOps pipeline


[](https://i.sstatic.net/ylprr.png)

Does anyone know how i can import multiple data zip files to target environment using pipeline? This is my first time using pipeline, need guidance. I am currently can only import one Master Data to target environment. Need to update multiple times if i need to upload multiple zip files.


Solution

  • Based on your screenshot, you are using the Import Config Migration Data task from the extension: Power DevOps Tools

    When we use the task in Classic Release Pipeline, it only supports select one zip file at a task. We are not able to select multiple files in a task

    To upload multiple Master Data zip files to target environment in release Pipeline, you can add multiple tasks and a specific zip file in each task.

    For example:

    enter image description here

    In this case, we can upload multiple Master Data zip files to target environment in one release Pipeline Run.

    Or we can use YAML Pipeline to define multiple files for the task.

    For example:

    - task: MSCRMImportCMData@12
      displayName: 'Import Configuration Migration Data'
      inputs:
        crmConnectionString: xxxxx
        dataFile: |
           xxx/xxx/xxx/a.zip
           xxx/xxx/xxx/b.zip