OneDrive - File upload

This activity allows you to upload a file to a location on OneDrive. Please note that the connection must be configured as OAuth2 Authorization Code. For Azure permissions, refer to the Microsoft Azure Integration section.

Table 1. OneDrive File upload action - Inputs
Parameters Description

FolderName

The name of the folder inside the OneDrive account to which the file will be uploaded.

FileURLLocation

The URL of the globally accessible file that you want to copy into your OneDrive.

Connection

A drop-down of Graph connections. Please note that only OAuth2 Auth Code connections will work, as the file can only be uploaded to the owner of the connection.

Filename

The file name that will be saved inside the OneDrive account.

IsShareable

True or False. Setting it to true will allow anyone in the organization to have access to the file.

Table 2. OneDrive File upload action - Outputs
Parameters Description

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

Results

JSON payload of the action performed.

DownloadURL

A link from which the user can access the file.

ShareableURL

A link from which anyone in the organization can access the file.