I have an SSIS package which contains a scripting component which extracts data from Dynamics 365. The package executes fine from Visual Studio and also from a local SQL server which I deployed it to to test.
I want to run the package from the cloud so I have setup an Azure integrated runtime to run the SSIS package using a pipeline, however when I try to execute the package from within Azure (using SSMS) I get a file not found error as below:
Dynamics Extract to Staging:Error: System.IO.FileNotFoundException: Could
Not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. The system cannot find the file specified.
I assume this is related to the assembly file not being loaded to Azure along with the package, although I would have thought it was included as part of the SSIS package given the package executes fine when run from the local SQL Server i tested on?
I have read through this and a few others describing the issue but most seem to be related to adding the assembly to a local server environment.
This also seems to refer to the same issue but is for functions and Im not sure how to apply this to my problem with executing the SSIS package in Azure data factory.
How do I ensure this assembly file is correctly deployed with the SSIS package to the Azure SSIS catalogue?
Any help appreciated.