How to push excel file from local to onedrive folder path in uipath

Hi all can anyone let me know like step by step procedure to publish local excel file to onedrive folder in UiPath

Use “Move File” activity.
From → source file path
To–> Destination file path

i want to this with api permissions so could u explain that

use the onedrive upload file function, but first you need to use the file exist activity to get the “local reference path” then you use that in order to upload the file