{"id":10862,"date":"2023-12-08T13:58:43","date_gmt":"2023-12-08T13:58:43","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=10862"},"modified":"2025-09-26T13:13:02","modified_gmt":"2025-09-26T13:13:02","slug":"download-files-onedrive-using-ssis","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/","title":{"rendered":"How to download files from OneDrive using SSIS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-9115 \" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo-150x150.png\" alt=\"Download File from OneDrive in SSIS\" width=\"100\" height=\"100\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo-150x150.png 150w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png 261w\" sizes=\"(max-width: 100px) 100vw, 100px\" \/><\/a>In today&#8217;s data-driven world, the ability to seamlessly integrate and transfer files between different platforms is crucial for efficient business operations. If you&#8217;re a user of SQL Server Integration Services (SSIS) and looking to integrate OneDrive into your data workflow, you&#8217;re in luck. ZappySys SSIS PowerPack offers a powerful <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/onedrive-connector\/\">OneDrive Connector<\/a> that makes downloading files from OneDrive a breeze. In this guide, we&#8217;ll walk you through the process of downloading files from OneDrive using SSIS and the <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/onedrive-connector\/ssis\">ZappySys SSIS PowerPack OneDrive Connector<\/a>.<\/p>\n<div class=\"content_block\" id=\"custom_post_widget-2523\"><h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\r\nBefore we perform the steps listed in this article, you will need to make sure the following prerequisites are met:\r\n<ol style=\"margin-left: 1.5em;\">\r\n \t<li><abbr title=\"SQL Server Integration Services\">SSIS<\/abbr> designer installed.\u00a0Sometimes it is referred to as <abbr title=\"Business Intelligence Development Studio\">BIDS<\/abbr> or <abbr title=\"SQL Server Data Tools\">SSDT<\/abbr> (<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/download-sql-server-data-tools-ssdt\" target=\"_blank\" rel=\"noopener\">download it from the Microsoft site<\/a>).<\/li>\r\n \t<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\r\n \t<li>Make sure\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys SSIS PowerPack<\/a><\/span>\u00a0is installed (<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">download it<\/a>, if you haven't already).<\/li>\r\n \t<li>(<em>Optional step<\/em>)<em>.<\/em>\u00a0<a href=\"https:\/\/zappysys.zendesk.com\/hc\/en-us\/articles\/360035974593\" target=\"_blank\" rel=\"noopener\">Read this article<\/a>, if you are planning to deploy packages to a server and schedule their execution later.<\/li>\r\n<\/ol><\/div>\n<h2>Download files from OneDrive with SSIS<\/h2>\n<p>In this section, we will learn how to configure and use OneDrive Connector in the API Source &amp; API Destination to download files from OneDrive.<\/p>\n<ol>\n<li>Begin with opening Visual Studio and Creating a New Project.<\/li>\n<li>Select Integration Service Project and in the new project window set the appropriate name and location for the project. Click OK.<\/li>\n<li>In the new SSIS project screen you will find the following:\n<ol style=\"list-style-type: lower-alpha;\">\n<li>SSIS ToolBox on the left sidebar<\/li>\n<li>Solution Explorer and Property Window on the right bar<\/li>\n<li>Control flow, data flow, event Handlers, Package Explorer in tab windows<\/li>\n<li>Connection Manager Window at the bottom<\/li>\n<\/ol>\n<div id=\"attachment_10258\" style=\"width: 710px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/upload-files-google-drive-using-ssis\/zappysys-ssis-project-with-toolbox\/#main\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10258\" class=\"wp-image-10258\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/zappysys-ssis-project-with-toolbox-1024x653.png\" alt=\"zappysys ssis project with toolbox\" width=\"700\" height=\"447\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/zappysys-ssis-project-with-toolbox-1024x653.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/zappysys-ssis-project-with-toolbox-300x191.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/zappysys-ssis-project-with-toolbox-768x490.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/zappysys-ssis-project-with-toolbox.png 1287w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><p id=\"caption-attachment-10258\" class=\"wp-caption-text\">SSIS Toolbox &#8211; ZappySys Tasks<\/p><\/div>\n<div class=\"su-note\"  style=\"border-color:#e5dd9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff7b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><strong>NOTE<\/strong>: If you don&#8217;t see ZappySys SSIS PowerPack Task or Components in the SSIS Toolbox, please refer to <a href=\"https:\/\/zappysys.zendesk.com\/hc\/en-us\/articles\/115004935754-I-don-t-see-PowerPack-components-in-SSIS-Toolbox\">this help link<\/a>.<\/div><\/div><\/li>\n<li>Now, Drag and Drop the SSIS Data Flow Task from the SSIS Toolbox. Double-click on the Data Flow Task to see the Data Flow Designer.<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/drag-and-drop-data-flow-task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10260\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/drag-and-drop-data-flow-task.png\" alt=\"\" width=\"460\" height=\"155\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/drag-and-drop-data-flow-task.png 460w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/drag-and-drop-data-flow-task-300x101.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/a><\/li>\n<li>From the SSIS toolbox drag and drop API Source (Predefined Templates) on the data flow designer surface, and double-click on it to edit it:<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-drag-and-drop.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10262\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-drag-and-drop.jpg\" alt=\"\" width=\"659\" height=\"292\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-drag-and-drop.jpg 659w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-drag-and-drop-300x133.jpg 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/a><\/li>\n<li>Select <strong>New Connection<\/strong> to create a new connection:<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-new-connection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10263\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-new-connection.png\" alt=\"\" width=\"684\" height=\"643\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-new-connection.png 684w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/08\/ssis-api-source-new-connection-300x282.png 300w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/a><\/li>\n<\/ol>\n<h2>Configuring the OneDrive Connector<\/h2>\n<ol>\n<li>Use a preinstalled OneDrive Connector from the Popular Connector List or press the Search Online radio button to download OneDrive Connector. Once downloaded simply use it in the configuration:<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-template-selection-onedrive-walkthrough.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10851\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-template-selection-onedrive-walkthrough.png\" alt=\"ssis onedrive template selection walkthrough\" width=\"783\" height=\"719\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-template-selection-onedrive-walkthrough.png 783w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-template-selection-onedrive-walkthrough-300x275.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-template-selection-onedrive-walkthrough-768x705.png 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/a><\/li>\n<li>Proceed with selecting the desired Authentication Type. Then select API Base URL (in most cases default one is the right one). Finally, fill in all the required parameters and set optional parameters if needed.<\/li>\n<li>After configuring all the required properties in the API Connection Manager, please click on the &#8220;Test Connection&#8221; button to confirm that the connection is established successfully.<br \/>\n<h3>Method1: Connect to OneDrive using User Credentials [OAuth]<\/h3>\n<p>You may press a link <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/onedrive-connector\/help\/authentication\/UserCreds\"><strong>Steps to Configure<\/strong><\/a> which will help set certain parameters.<\/p>\n<div id=\"attachment_10850\" style=\"width: 755px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-generate-token-user-credentials.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10850\" class=\"wp-image-10850 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-generate-token-user-credentials.png\" alt=\"SSIS API Source - Generate Token - OneDrive with User Credentials\" width=\"745\" height=\"784\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-generate-token-user-credentials.png 745w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-generate-token-user-credentials-285x300.png 285w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/a><p id=\"caption-attachment-10850\" class=\"wp-caption-text\">SSIS API Source &#8211; Generate Token &#8211; OneDrive with User Credentials<\/p><\/div>\n<h3>Method2: Connect to OneDrive using Application Credentials [OAuth]<\/h3>\n<p>You may press a link <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/onedrive-connector\/help\/authentication\/AppCreds\"><strong>Steps to Configure<\/strong><\/a> which will help set certain parameters.<\/p>\n<div id=\"attachment_10849\" style=\"width: 876px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-application-creds-generate-token.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10849\" class=\"size-full wp-image-10849\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-application-creds-generate-token.png\" alt=\"SSIS API Source - Generate Token - OneDrive with Application Credentials\" width=\"866\" height=\"773\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-application-creds-generate-token.png 866w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-application-creds-generate-token-300x268.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-application-creds-generate-token-768x686.png 768w\" sizes=\"(max-width: 866px) 100vw, 866px\" \/><\/a><p id=\"caption-attachment-10849\" class=\"wp-caption-text\">SSIS API Source &#8211; Generate Token &#8211; OneDrive with Application Credentials<\/p><\/div><\/li>\n<\/ol>\n<h2>How to download a single file from OneDrive<\/h2>\n<p>In the API Source Component, we&#8217;ve chosen the API Connection Manager. Next, we need to configure the remaining properties of the component to download the single file from OneDrive.<\/p>\n<ol>\n<li>Choose the <strong>Download file<\/strong> endpoint from the &#8220;Select Table\/Endpoint&#8221; dropdown menu.<\/li>\n<li>Please choose DriveId from the drop-down menu.<\/li>\n<li>Please set the <strong>FileId<\/strong> that indicates which file you wish to download. This is an essential parameter for the download process.<\/li>\n<li>Please set the local folder&#8217;s physical path which indicates the desired file being downloaded by setting the <strong>TargetFilePath<\/strong>\u00a0parameter.<\/li>\n<li>If you intend to replace the local file with the one being downloaded, please select the &#8216;<strong>AlwaysOverwrite<\/strong>&#8216; option from the dropdown menu labeled &#8216;<strong>FileOverwriteMode<\/strong>&#8216;. Alternatively, you can choose &#8216;FileIfExists&#8217; or &#8216;SkipIfExists&#8217; based on your specific needs.<\/li>\n<\/ol>\n<p>Please refer to the sample screenshot below.<\/p>\n<div id=\"attachment_10865\" style=\"width: 724px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-single-file-download.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10865\" class=\"size-full wp-image-10865\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-single-file-download.png\" alt=\"SSIS API Source - OneDrive - Download Single File\" width=\"714\" height=\"893\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-single-file-download.png 714w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-source-onedrive-single-file-download-240x300.png 240w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/a><p id=\"caption-attachment-10865\" class=\"wp-caption-text\">SSIS API Source &#8211; OneDrive &#8211; Download Single File<\/p><\/div>\n<p>Once you have configured all the mentioned properties above, please click on the &#8220;Preview Data&#8221; button to initiate the API call. With just a few clicks, we have successfully configured the call to OneDrive using the <strong>ZappySys OneDrive Connector<\/strong> for downloading a Single file from OneDrive.<\/p>\n<h2>How to download multiple files from OneDrive<\/h2>\n<p>In the API Destination Component, we have chosen the API Connection Manager. Now, we must proceed to configure the remaining properties of the component to facilitate the download of multiple files from OneDrive. Additionally, we should make use of an OLE DB Source and Derived Column component to map the files for the download process.<\/p>\n<ol>\n<li>Drag and drop the OLE DB Source Component from the SSIS Toolbox. Double-click on the OLE DB Source Component to initiate its configuration.\n<div id=\"attachment_7289\" style=\"width: 515px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/06\/oledb-source-drag-and-drop.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-7289\" class=\"wp-image-7289 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/06\/oledb-source-drag-and-drop.png\" alt=\"OLE DB Source - Drag and Drop\" width=\"505\" height=\"190\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/06\/oledb-source-drag-and-drop.png 505w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/06\/oledb-source-drag-and-drop-300x113.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/a><p id=\"caption-attachment-7289\" class=\"wp-caption-text\">OLE DB Source &#8211; Drag and Drop<\/p><\/div><\/li>\n<li>Create a new OLE DB Connection Manager and configure your SQL Server settings for the connection. Next, select the Data access mode, specify the name of the table or view, or write an SQL Command. Afterward, click on the &#8216;Preview&#8217; button to view a preview and check the &#8216;Columns&#8217; tab for the source columns.\n<div id=\"attachment_10874\" style=\"width: 832px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-oledb-source-read-onedrive-filesdata-sql.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10874\" class=\"wp-image-10874 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-oledb-source-read-onedrive-filesdata-sql.png\" alt=\"SSIS OLE DB Source - Configure SQL Connection and fetch the table data\" width=\"822\" height=\"718\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-oledb-source-read-onedrive-filesdata-sql.png 822w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-oledb-source-read-onedrive-filesdata-sql-300x262.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-oledb-source-read-onedrive-filesdata-sql-768x671.png 768w\" sizes=\"(max-width: 822px) 100vw, 822px\" \/><\/a><p id=\"caption-attachment-10874\" class=\"wp-caption-text\">SSIS OLE DB Source &#8211; Configure SQL Connection and fetch the table data<\/p><\/div><\/li>\n<li>Next, drag and drop the Derived Column Component from the SSIS Toolbox. Double-click on the Derived Column Component to begin its configuration.\n<div id=\"attachment_10219\" style=\"width: 503px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/ssis-drag-and-drop-derived-column.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10219\" class=\"size-full wp-image-10219\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/ssis-drag-and-drop-derived-column.png\" alt=\"Drag and drop the Derived Column\" width=\"493\" height=\"345\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/ssis-drag-and-drop-derived-column.png 493w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/ssis-drag-and-drop-derived-column-300x210.png 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/a><p id=\"caption-attachment-10219\" class=\"wp-caption-text\">Drag and drop the Derived Column<\/p><\/div><\/li>\n<li>Now, add a new Derived Column by setting the expression to concatenate FilePath and FileName. Click &#8216;OK&#8217; to save the configuration.\n<div id=\"attachment_10873\" style=\"width: 858px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-derived-column-add-newcolumn-onedrive-set-expression.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10873\" class=\"wp-image-10873 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-derived-column-add-newcolumn-onedrive-set-expression.png\" alt=\"SSIS Derived Column - Add New Column and Set Expression\" width=\"848\" height=\"622\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-derived-column-add-newcolumn-onedrive-set-expression.png 848w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-derived-column-add-newcolumn-onedrive-set-expression-300x220.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-derived-column-add-newcolumn-onedrive-set-expression-768x563.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/a><p id=\"caption-attachment-10873\" class=\"wp-caption-text\">SSIS Derived Column &#8211; Add New Column and Set Expression<\/p><\/div><\/li>\n<li>Now, drag and drop the API Destination Component from the SSIS Toolbox. Double-click on the API Destination Component to begin its configuration.\n<div id=\"attachment_10697\" style=\"width: 879px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/10\/ssis-api-destination-drag-and-drop.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10697\" class=\"wp-image-10697 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/10\/ssis-api-destination-drag-and-drop.png\" alt=\"Drag and Drop the SSIS API Destination Component\" width=\"869\" height=\"548\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/10\/ssis-api-destination-drag-and-drop.png 869w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/10\/ssis-api-destination-drag-and-drop-300x189.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/10\/ssis-api-destination-drag-and-drop-768x484.png 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/a><p id=\"caption-attachment-10697\" class=\"wp-caption-text\">Drag and Drop the SSIS API Destination Component<\/p><\/div><\/li>\n<li>Double-click on the <strong>API Destination<\/strong>\u00a0component to configure it for downloading multiple files from OneDrive.\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Choose the <strong>Download file<\/strong> endpoint from the &#8220;Select Table\/Endpoint&#8221; dropdown menu.<\/li>\n<li>Please specify the &#8216;FileOverwriteMode&#8217; option as &#8216;AlwaysOverwrite,&#8217; or you can choose &#8216;FailIfExists&#8217; or &#8216;SkipIfExists&#8217; options based on your requirements.<br \/>\nPlease refer to the sample screenshot below.<\/p>\n<div id=\"attachment_10872\" style=\"width: 827px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-configure-settingstab-download-multiplefile-onedrive.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10872\" class=\"size-full wp-image-10872\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-configure-settingstab-download-multiplefile-onedrive.png\" alt=\"SSIS API Destination Component - Configure Settings Tab\" width=\"817\" height=\"674\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-configure-settingstab-download-multiplefile-onedrive.png 817w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-configure-settingstab-download-multiplefile-onedrive-300x247.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-configure-settingstab-download-multiplefile-onedrive-768x634.png 768w\" sizes=\"(max-width: 817px) 100vw, 817px\" \/><\/a><p id=\"caption-attachment-10872\" class=\"wp-caption-text\">SSIS API Destination Component &#8211; Configure Settings Tab<\/p><\/div><\/li>\n<li>Now, go to the Mappings tab and specify the source columns with the corresponding target properties.<br \/>\nNote: Here We&#8217;re mapping FileID with $$Id and FileNameWithPath with $$ResponseDataFile. You can create mappings based on your Source columns<br \/>\nPlease refer to the sample screenshot below<\/p>\n<div id=\"attachment_10871\" style=\"width: 811px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10871\" class=\"size-full wp-image-10871\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile.png\" alt=\"SSIS API Destination Component - Configure Mappings Tab\" width=\"801\" height=\"500\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile.png 801w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile-300x187.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile-768x479.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-configure-mappingstab-download-multiplefile-436x272.png 436w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/a><p id=\"caption-attachment-10871\" class=\"wp-caption-text\">SSIS API Destination Component &#8211; Configure Mappings Tab<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Once you have configured all the mentioned properties above, please click on the &#8220;Preview Data&#8221; button from the Settings tab to initiate the API call. With just a few clicks, we have successfully configured the call to OneDrive using the ZappySys OneDrive Connector for downloading multiple files from OneDrive.<br \/>\nPlease refer to the sample screenshot below.<\/p>\n<div id=\"attachment_10870\" style=\"width: 958px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-download-multiplefiles-success.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10870\" class=\"size-full wp-image-10870\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-download-multiplefiles-success.png\" alt=\"Download Multiple files from OneDrive\" width=\"948\" height=\"329\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-download-multiplefiles-success.png 948w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-download-multiplefiles-success-300x104.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2023\/12\/ssis-api-destination-onedrive-download-multiplefiles-success-768x267.png 768w\" sizes=\"(max-width: 948px) 100vw, 948px\" \/><\/a><p id=\"caption-attachment-10870\" class=\"wp-caption-text\">Download Multiple files from OneDrive<\/p><\/div><\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>In this blog, we learned how to connect with OneDrive using SSIS API Connection Manager and download single or multiple files from OneDrive using a combination of SSIS components, including the <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-source\/\">SSIS API Source component<\/a>, <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-destination\/\">SSIS API Destination component<\/a>, OLE DB Source component, and Derived Column component.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In today&#8217;s data-driven world, the ability to seamlessly integrate and transfer files between different platforms is crucial for efficient business operations. If you&#8217;re a user of SQL Server Integration Services (SSIS) and looking to integrate OneDrive into your data workflow, you&#8217;re in luck. ZappySys SSIS PowerPack offers a powerful OneDrive Connector that makes downloading [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":9115,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[630,616,16,8],"tags":[627,436,12,621,628,4],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to download files from OneDrive using SSIS | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to download files from OneDrive using SSIS | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2023-12-08T13:58:43+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-09-26T13:13:02+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"261\" \/>\r\n\t<meta property=\"og:image:height\" content=\"261\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/\",\"url\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/\",\"name\":\"How to download files from OneDrive using SSIS | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png\",\"datePublished\":\"2023-12-08T13:58:43+00:00\",\"dateModified\":\"2025-09-26T13:13:02+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\"},\"description\":\"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png\",\"width\":261,\"height\":261,\"caption\":\"Download File from OneDrive in SSIS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to download files from OneDrive using SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/hshah\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to download files from OneDrive using SSIS | ZappySys Blog","description":"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/","og_locale":"en_US","og_type":"article","og_title":"How to download files from OneDrive using SSIS | ZappySys Blog","og_description":"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.","og_url":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/","og_site_name":"ZappySys Blog","article_published_time":"2023-12-08T13:58:43+00:00","article_modified_time":"2025-09-26T13:13:02+00:00","og_image":[{"width":261,"height":261,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/","url":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/","name":"How to download files from OneDrive using SSIS | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png","datePublished":"2023-12-08T13:58:43+00:00","dateModified":"2025-09-26T13:13:02+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35"},"description":"Easily download files from OneDrive using SSIS with ZappySys. Step-by-step guide to set up the OneDrive Connector or REST API Task for automated file downloads.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/08\/microsoft-onedrive-logo.png","width":261,"height":261,"caption":"Download File from OneDrive in SSIS"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/download-files-onedrive-using-ssis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to download files from OneDrive using SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/hshah\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/10862"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=10862"}],"version-history":[{"count":6,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/10862\/revisions"}],"predecessor-version":[{"id":11074,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/10862\/revisions\/11074"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/9115"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=10862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=10862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=10862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}