Search code examples
azuressisazure-blob-storageazure-storage

Getting an error when using the Flexible File Destination Task in Visual Studio 2022 SSIS


I am trying to setup a data flow task in Visual Studio 2022 using the Flexible File Destination. This task is used in an SSIS pipeline to copy data to an Azure blob or Data lake. I have setup the Azure connection and the Test connection succeeds. I am using an access key to authenticate to the azure storage container.

The error I get when I run the flow is : Error: 0x0 at Data Flow Task, Flexible File Destination: Transfer data error : System.ArgumentException: The required property is not specified. Parameter name: msiAuthenticator

Is there something else I need to configure here? I see nowhere else where I need to put in a property called msiAuthenticator.

I have tried connecting with SAS as well as service principal but get the same error. I have installed the latest SSIS extension for Visual Studio 2022. I am able to open the storage container successfully in Azure Portal as well as Azure Storage explorer.

Thanks! Screenshots of ssis: SSIS connection manager for Azure storage The Flexible file destination configuration The results of the data flow task The components of the data flow task showing that it has failed


Solution

  • I managed to solve this issue by setting the ProtectionLevel of my project and its packages to EncryptSensitiveWithPassword. It was previously set to DoNotSaveSensitive.

    enter image description here