MARKETPLACE
PLUGINS
ONEDRIVE BY RITZ7
OneDrive by Ritz7 logo

OneDrive by Ritz7

Published February 2023
   β€’    Updated November 2025

Plugin details

The OneDrive plugin offers various functions related to managing your onedrive account from your Bubble app.
πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ† Plugins by Ritz7 πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†

Stay up-to-date with our latest updates and new plugin releases by registering at: https://bubble.ritz7.com/registration

Video Tutorial Link: https://bubble.ritz7.com/Onedrive_YT

Want a new feature?
You can share via email at [email protected] or add it here: https://bubble.ritz7.com/Onedrive_FR

Found a bug?
You can share via email at [email protected] or report here: https://bubble.ritz7.com/Onedrive_Feedback

Want a one-on-one support?
Schedule a paid call: https://bubble.ritz7.com/schedule

Interested in a 250+ hours detailed course?
https://bubble.ritz7.com/NoCodeSchool

πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†

β–Ί OneDrive key features

βœ” Get all files/folders from your drive.

βœ” Get recent files.

βœ” Get shared files.

βœ” Create a folder in the root-drive/folder.

βœ” Update a folder in the root-drive/folder.

βœ” Upload files below 5MB in the root-drive/folder.

βœ” Upload large files in the root-drive/folder.

βœ” Get all files/folders from another folder.

βœ” Delete a file/folder.

βœ” Copy a file/folder.

βœ” Move a file/folder.

βœ” Create a sharing link of a file/folder.

βœ” Download file.

βœ” Follow an item.

βœ” Get all followed items.

βœ” Unfollow an item.

βœ” List all permissions

βœ” Get a permission for an item

βœ” Create permissions for an item

βœ” Update permissions for an item

βœ” Delete permissions for an item

$8

One time  β€’  Or  $2/mo

stars   β€’   0 ratings
11 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

Ritz7 Automations logo
Ritz7 Automations
Joined 2021   β€’   30 Plugins
View contributor profile

Instructions

πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†Set-UpπŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†
We have detailed video tutorials for each of the actions/elements we have in this plugin. Watch them to understand and use it at ease.

πŸŸ†πŸŸ† You must set up your Microsoft Azure account and create a Microsoft Azure Project before you can use this plugin. Takes less than 5 mins if you follow the instructions. It is a one time process which is necessary to get your client-id and client-secret. πŸŸ†πŸŸ†

βœ” Go to https://portal.azure.com/
βœ” Log in to your Microsoft account.
βœ” Click on View button of "Manage Azure Active Directory" section.
βœ” Click on App registrations on left-side of the dashboard.
βœ” Click on "New registration".
βœ” Fill all the details and register an app.
βœ” Register redirect URL in the app.
βœ” Create a client-secret and save it.

➸ Step (1 to 8) is explained in detail:
➸ Watch Youtube video here: https://www.youtube.com/watch?v=ACXrdPANgE0


πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†Installing the PluginπŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†


βœ” Log in to your Bubble account
βœ” Go to Plugins
βœ” Search for β€œOnedrive by Ritz7”
βœ” Install the plugin


πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†Using the PluginπŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†πŸŸ†


πŸŸ†πŸŸ† Note: In all the actions, we have a field named "Authorization". This field should be in the following format: Bearer <Access-Token> or just <Access-Token>. Access Token will be valid for 60 mins from the time it is generated and you can regenerate it using the Refresh Token. And this step is explained in detail here: https://www.youtube.com/watch?v=Ewggz0dVdzgπŸŸ†πŸŸ†

βœ” Drag and drop the element "OneDrive".

βœ” Add an action called "Onedrive - Get Auth Code" which requires you to add Client-ID and redirect URL. This will return a URL that needs to be opened.  

Note: The redirect URL should match exactly as you have set while configuring in Microsoft Azure project.

βœ” Add Next step: You will have to open the URL you get from the previous step.

Note: This will ask your permission for your app to use your Onedrive Account. Once you permit, the element will automatically fetch the code from the URL.

βœ” Generate Auth Token via code: Call an Action "Get Access Token from Auth Code". This will require you to pass the client-ID, client-secret, code (you will get it from the element 'OneDrive' and the param is named as 'OneDrive-Auth-Code') and redirect URL (this should match the one added in the Microsoft Azure Project)

Note: You will also get Refresh Token along with Access token from step-4. You use Refresh Token to get the Access Token once the old Access Token expires.  

βœ” Use "Get Access Token from Refresh Token" action to get the Access token from Refresh Token. This requires you to provide client-ID, client-secret and refresh token.


πŸŸ†πŸŸ† Actions πŸŸ†πŸŸ†

➽ Get all files/folders from your drive

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.

βœ” Outputs:
 βž» List of files/folders in the root drive.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=VNU7blpQBHE


➽ Get recent files

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.

βœ” Outputs:
 βž» List of files/folders in the recent section.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=VNU7blpQBHE


➽ Get shared files

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.

βœ” Outputs:
 βž» List of files/folders in the shared section.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=VNU7blpQBHE


➽ Create a folder in the root-drive

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» drive-ID: It is the ID of the drive where folder will be created.
 βž» Name: It is the name of the folder which will be created.

βœ” Outputs:
 βž» Details of the folder created.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=OiwSWiju3gc


➽ Create a folder in another folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» drive-ID: It is the ID of the drive where folder will be created.
 βž» folder-ID: It is the ID of the parent folder where child folder will be created.
 βž» Name: It is the name of the folder which will be created.

βœ” Outputs:
 βž» Details of the folder created.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=OiwSWiju3gc


➽ Update a file/folder in the root-drive/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive-ID: ID of a drive.
 βž» Item-ID: ID of an item in the drive.
 βž» Name: Name of the item that needs to be updated.

βœ” Outputs:
 βž» Details of the file/folder updated.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=2g9IsK9PY7E


➽ Upload files below 5MB in the root-drive/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of an item in the drive.
 βž» File URL: URL of the file that needs to be uploaded. Size of the file needs to be below 5MB.

βœ” Outputs:
 βž» Details of the file uploaded in the drive.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=2XC_Zg6BoLo


➽ Upload large files

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of an item in the drive.
 βž» File URL: URL of the file that needs to be uploaded.

βœ” Outputs:
 βž» Details of the file uploaded in the drive.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=2XC_Zg6BoLo


➽ Get all files/folders from another folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Folder-ID: ID of the folder in the drive.

βœ” Outputs:
 βž» List of items in the folder.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=OiwSWiju3gc


➽ Delete a file/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Item ID: ID of an item in the drive.

βœ” Outputs: None

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=2g9IsK9PY7E


➽ Copy a file/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.
 βž» Drive-ID: ID of the drive where item needs to be copied.
 βž» Item-ID: ID of the folder where item needs to be copied. Optional

βœ” Outputs:
 βž» Details of the item copied in the new location.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=73DQjJcgO_c


➽ Move a file/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive where the item is present.
 βž» Item-ID: ID of the item in the drive.
 βž» Drive-ID: ID of the drive where item needs to be moved.
 βž» Item-ID: ID of the folder where item needs to be moved. Optional

βœ” Outputs:
 βž» Details of the item moved in the new location

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=73DQjJcgO_c


➽ Create a sharing link of a file/folder

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.
 βž» Type: Its the type of sharing link to create. Either view, edit, or embed.
 βž» Scope: If true, any current inherited permissions are retained on the shared item when sharing this item for the first time. If false, all current permissions are removed when sharing for the first time. The default value is true. Optional.
 βž» Retain Inherited Permissions: ID of a drive.
 βž» Expiration Date-Time: It is the expiration time of the permission with format of yyyy-MM-ddTHH:mm:ssZ. Ex - 2023-03-20T12:05:00Z
 βž» Password: The password of the sharing link that is set by the creator. Optional and for OneDrive Personal only.

βœ” Outputs:
 βž» Details of the item with the sharing link.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=hWnJzp3Jg20


➽ Download file

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Item-ID: ID of the item in the drive.

βœ” Outputs:
 βž» URL of the item where it will be downloaded

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=2XC_Zg6BoLo


➽ Follow an item

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.

βœ” Outputs:
 βž» Date of the followed item with the drive ID.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=TH7FVaSGQ8Y


➽ Get followed items

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.

βœ” Outputs:
 βž» List of files/folders that were followed.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=VNU7blpQBHE


➽ Unfollow an item

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.

βœ” Outputs: None

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=TH7FVaSGQ8Y


➽ List all permissions

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.

βœ” Outputs:
 βž» List of permissions of the item.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=y13ioemQiH8


➽ Create permissions for an item

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.
 βž» Recipients: List of email address on which the permissions will be used while accessing the item.
 βž» Message: Any message to convey to the user accessing the item.
 βž» Requires Sign-in: If you want the user to sign in then true or else false.
 βž» Send Invitation: If you want to send an invitation then true or else false.
 βž» Roles: List of roles for the item. Ex - "write".
 βž» Expiration Date: Date of expiration of the permisssion. Ex - 2023-03-20T14:00:00.000Z.

βœ” Outputs:
 βž» Details of the item with the permission created.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=y13ioemQiH8


➽ Update permission for an item

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.
 βž» Permission-ID: ID of the permission of an item in the drive.
 βž» Roles: List of roles for the item. Ex - "write", "read", "owner".

βœ” Outputs:
 βž» Details of the updated permission of the item.

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=y13ioemQiH8


➽ Delete a permission for an item

βœ” Inputs:
 βž» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
 βž» Drive ID: ID of the drive.
 βž» Item-ID: ID of the item in the drive.
 βž» Permission-ID: ID of the permission of an item in the drive.

βœ” Outputs: None

➸ Watch the video for the above action here: https://www.youtube.com/watch?v=y13ioemQiH8

Types

This plugin can be found under the following types:
Api   β€’   Action   β€’   Element

Categories

This plugin can be found under the following categories:
Technical   β€’   Data (things)   β€’   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble