365 Microsoft activities

Hi,

I need some help with an automation. The thing is that i’m trying to download a document from a site and I then move the file to another folder.

I’m using the “Wait for download” to retrieve the FilePath (with FileInfo type variable) and then move the file. The problem is that I want to use the sharepoint of Microsoft 365 with the 365 activities of UiPath and all the time retrieve the same problem: “Get File/Folder: The request is malformed or incorrect.” because the FileInfo variable have a Local Path (because the document automatically is saved in download folder on my computer) and I think that this is the big problem.

What can I achieve that?

Once you download the file in local system use the below sequences to upload the file in OneDrive

1 Like

Hi @Carla_Munoz ,
UiPath has 365 package support upload file to share
I think after download file, you can upload all of them to share
first, connect UiPath with sharepoint


then
use upload file inside 365 scope,
image

UiPath have activity upload, move,…
you can try them
regards,
LNV

1 Like

I have a variable of type 365DriveRemoteItem and the variable type of “destination folder” is DriveItem. How I can convert it?

I have a variable of type 365DriveRemoteItem and the variable type of “destination folder” is DriveItem. How I can convert it?

In variables panel, try changing the type of first variable from 365DriveRemoteItem to DriveItem