I am supporting CandidateX

CandidateX is a startup that focuses on creating inclusion-focused hiring solutions, designed to increase access to job opportunities for underestimated talent. Check them out if you have a few minutes to spare. They need visibility!

The OneDrive API is Microsoft’s version of Google Drive. The API is very similar to the Drive API, so I’m going to port Drive JSON API for apps script over so you can use OneDrive from Apps Script.


Like Google, Microsoft use Oauth2, so we’ll use EzyOauth2 – taking some pain out of Apps Script API authentication to handle that dialog. You’ll need to copy the patterns shown in EzyOauth2 patterns and head over to the Microsoft developers site to create an application using the Live SDK to get connected.

Setting up EzyOauth2 patterns for your app for OneDrive is written up in Oauth2 authentication for Microsoft OneDrive