Skip to main content

OneDrive

With OneDrive modules in Make, you can manage files and folders in your OneDrive account.

To use the OneDrive modules, you must have a OneDrive account. You can create an account at onedrive.live.com.

Refer to the Microsoft Graph REST API documentation for a list of available endpoints.

Connect OneDrive to Make

To establish the connection in Make:

  1. Log in to your Make account, add a OneDrive module scenario to your scenario, and click Create a Connection.

    Note: If you add a module with an instant tag, click Create a webhook, then Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. Optional: Click Show Advanced Settings and enter your custom app client credentials, and Tenant ID.

  4. Click Save.

  5. If prompted, authenticate your account and confirm access.

    You have successfully established the connection. You can now edit your scenario and add more OneDrive modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

Build OneDrive Scenarios

After connecting the app, you can perform the following actions:

Files

  • Watch Files

    Note: This webhook is valid for a one month period after being created/updated. To keep it active, make sure to trigger it within the given period and it will automatically refresh a new expiration date.

    This webhook acts as a simple notification to inform you of changes to a user's drive and does not include any information about the changes that triggered it.

  • Watch Files/Folders

  • Search Files/Folders

  • Get a File

  • Download a File

  • Upload a File

  • Create a Folder

  • Get a Share Link

  • Move a File/Folder

  • Rename a File/Folder

  • Copy a File

  • Delete a File/Folder

Other

  • Make an API Call

  • Upload a File by URL

  • Send a Sharing Invitation

Unable to Upload or Update a File

There are several situations when uploading or updating a file may fail:

  • The uploaded file is too big and exceeds the maximum file size limit for your OneDrive plan, or you have used all of your OneDrive account's storage quota. To get more storage space, delete existing files from OneDrive, or upgrade your OneDrive account.

  • The previously selected folder to which the file is being uploaded no longer exists. The scenario is stopped, and you must select the target folder again.

  • Search Files and Folders - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Get a File - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Download a File - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Upload a File - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Create a Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Get a Share Link - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Move a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Copy a File - Move a File/Folder, Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Delete a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Make an API Call - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read