Access Azure File Share from SSIS job

我的未来我决定 提交于 2019-12-24 19:04:37

问题


I have deployed a SQL job in Azure VM (SQL Server 2017) that need to access some files in Azure File Share. Azure file share is mapped to the VM as a drive. Links to Screenshot are given below.

AFS credential added to Windows Credential Manager in VM

Drive Mapped

Problem : When the job is run it does not detects the file nor fails. When run from SSDT or from Integration services catalog, the package is able to access the file. So my question is how to make the SSIS job detect the Files in the File Share. I have tried providing the path as both mapped drive name as well as Universal Naming Convention. The package is successful in both ways when run from SSDT or Catalog. But the job is always successful and does not detect the files.

Action taken 1 : Provided elevated permission to the SSIS job proxy user so that It could identify the file. However, it didn't help.

Action taken 2 : I ensured that the config is correct as per the below blog, but was unsuccessful.

: https://blogs.msdn.microsoft.com/dataaccesstechnologies/2017/12/01/ssis-packages-executed-through-sql-agent-job-scheduler-fails-while-connecting-to-azure-file-storage-path/

Action taken 3 :

From the below link I understand that I need to add the Azure File Share credential to SSIS Catalog using the stored proc "catalog.set_execution_credential" . But this stored proc is not available in SQL Server as VM. It refers Azure SQL DB.

: https://www.mssqltips.com/sqlservertip/6025/using-files-stored-in-azure-file-services-with-integration-services--part-1/

Could anyone please help me how to solve this problem? I have to make the SSIS job pick up the files from the Azure file store added.

来源:https://stackoverflow.com/questions/58404856/access-azure-file-share-from-ssis-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!