Upload file from local folder to sharepoint

Trying to upload a file from local folder to sharepoint . Any extra settings libraries required other than MicrosoftOffice365.activities?

Hello @ayushi_jain3

  1. Install the “MicrosoftOffice365” activities package.
  2. Configure SharePoint authentication and permissions.
  3. Use the “Upload File” activity from the package to specify the SharePoint site URL and file details.

Thanks & Cheers!!!

Hi @ayushi_jain3 ,
Thanks for reaching out to UiPath Community.

Can you check about Configuring the Application ID, API Key, and Authority URL based on your SharePoint settings.

Regards,
@pratik.maskar

using the same method, but still it is throwing error " itemNotFound
Message: The resource could not be found."

1 Like

@ayushi_jain3

  1. Use the “Microsoft Office 365 Scope” activity to set up the connection to your SharePoint site.

  2. Inside the scope, use the “Upload File” activity to upload a file to SharePoint.

  3. Configure the activity as follows:

    • Site Address: Your SharePoint site address.
    • Document Library: The name of the document library in SharePoint.
    • File Path: The local path to the file you want to upload.
    • Destination Path: The path in SharePoint where you want to upload the file.
  4. Handle any necessary error handling or retry mechanisms.

1 Like

@ayushi_jain3

  1. To establish the connection to your SharePoint site, use the “Microsoft Office 365 Scope” activity.
  2. Within the scope, upload a file to SharePoint by using the “Upload File” activity.

Set up the action as follows:
Site Address: The address of your SharePoint site.
Document Library: The name of SharePoint’s document library.
File Path: The location of the desired file on your local system.
Destination Path: The location within SharePoint where the file is to be uploaded.

please verify that the Application ID, API Key, and Authority URL are configured according to your SharePoint settings.

I hope this is useful.