cancel
Showing results for 
Search instead for 
Did you mean: 

To sync the excel files to the onedrive folder

vsekar1
Level 2

I have obtained the onedrive link to where the excels should be synced. Now i need to sync all the excel input files to the onedrive folder. Could you please help on this to write the code

 

2 REPLIES 2

Hi @vsekar1,

There are two primary ways to sync your Excel files to OneDrive using Blue Prism:

Local Sync via OneDrive Folder:
If OneDrive is installed and configured to sync locally, it creates a folder on your machine that automatically syncs with the cloud. You can simply use the Utility - File Management actions in Blue Prism to move or copy your Excel files into that folder.

Direct Upload via OneDrive/Graph API:
If you prefer to upload files directly to OneDrive without relying on local sync, you can use the Microsoft Graph API. This requires:

  1. Registering an application in Azure Active Directory
  2. Using Graph API for authentication and file upload
  3. Leveraging Blue Prism Web API features or the Utility - HTTP VBO to perform the upload

If you need further details on either method, feel free to reply with your specific use case. If you found this information useful, please consider marking this response as the Best Answer.

Best regards,
Sourav S
Consultant - Automation Developer
WonderBotz

arghya.b
Verified Partner

Hi @vsekar1 

If you have the one drive setup in the run server or where the process is running just place those files in that folder as automatically it will sync with onedrive cloud.