Forum Discussion

pawelkam's avatar
pawelkam
Copper Contributor
Feb 05, 2025

What do I need to connect OneDrive with non-Azure cloud using webhooks?

Currently, I have a Dropbox shared folder connected with AWS processing pipeline via webhooks. In this setup, every time a user authenticated by Dropbox makes a change in the Dropbox folder, an AWS Lambda is triggered to download the changed file to AWS infrastructure and do some computations there.

Now, our partner requested Dropbox to be replaced with OneDrive, but to keep the existing AWS pipeline for processing.

 

Thus, a question arises: what would be sufficient to connect existing AWS infrastructure with OneDrive shared folder (after every change to a file in OneDrive the file has to be sent to AWS)?

What should I recommend to our partner for this use case? Especially:

- should I recommend the "OneDrive for business" license?
- is a stand-alone OneDrive license enough to utilize webhooks or are additional solutions like Azure needed?

 

Please note that the relationship with the partner is a formal one, so I can't change my recommendation. Also, for unrelated reasons I am unable to set up my own account, prototype and check for myself, as I normally would. In the future I will be able to make additional recommendations when specification changes, so there isn't any problem with changing the license to a higher one later on.

 

Research I've done so far:

- I've read the [OneDrive API documentation on webhooks](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/concepts/using-webhooks), but it is unclear to me what pre-requisites I need to set this up. Especially, is it supported on every license?
- The onedrive-webhooks-aspnet repo on GitHub lists prerequisites, but since the README.md was updated 6 years ago, I am unsure how up-to-date it is. It advises to use OneDrive Personal registered with the Microsoft registration portal or OneDrive for Business with Microsoft Azure Active Directory and Office 365 app registration tool. The links do not work, though.
- There is also a fairly recent guide on rollout.com on implementing webhooks in OneDrive, but it relies on Microsoft Graph. Is Microsoft Graph a necessity?

 

Any additional links to resources on how to set this up are welcomed :)

No RepliesBe the first to reply

Resources