File and Document Management
OneDrive
6min
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.
To establish the connection in Make:
- Log in to your Make account, add a OneDrive module to your , and click Create a Connection.Note: If you add a module with an instant tag, click Create a webhook, then Create a connection.
- Optional: In the Connection name field, enter a name for the connection.
- Optional: Click Show advanced settings to enter your custom app client credentials, tenant ID, and add additional scopes as needed. For more information about the permissions, see the Microsoft Graph permissions reference.
- Click Save.
- If prompted, authenticate your account and confirm access.You have successfully established the connection. You can now edit your and add more OneDrive modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.
After connecting the app, you can perform the following actions:
Files
- Watch Files
- 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
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 is stopped, and you must select the target folder again.
Modules that require the Files.Read.All permission might not work properly when using a personal Microsoft account.
- Search Files/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
- List Drives - Files.Read.All, offline_access, User.Read
- Move a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read
- Rename a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read
- Copy a File - 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
- Search Sites - Sites.Read.All, offline_access, User.Read
- Send a Sharing Invitation - Files.ReadWrite, Files.ReadWrite.All, Sites.ReadWrite.All, offline_access, User.Read
- Upload a File by URL - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read
- Watch Files/Folders - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read
- Watch Files - Files.Read.All, offline_access, User.Read
- Make an API Call - offline_access, User.Read