WP File Download Addon: OneDrive Integration

1. Microsoft OneDrive Application

The OneDrive integration is distributed as a separate Add-on. It includes OneDrive Personal and OneDrive Business. You need to install this add-on (plugin) additionally to WP File Download. The addon includes integration for Google Drive and Dropbox too. These steps below are applied for both.

First, you need a Microsoft Azure App to connect your website to a OneDrive account. Go to: https://portal.azure.com/, login and click on New registration button.

 

add-microsoft-app

 

On Register an application form, setup an app name and copy your website URL into the Redirect URL field and click on the Register button.

If you are using a OneDrive Business account, you can select the option: "Accounts in any organizational directory (Any Azure AD directory - Multitenant)".

 

copy-URL

 

Note: The Redirect URIs Server should be https://.

 

Then you're almost done, from here you have an Application ID (Client ID), only the password is missing. On the left menu, go to Certificates & secrets, then click on the New client secret button to create one. After that, fill the Description and set the Expires for it.

 

new-password-1

 

A password (Client Secret) is generated right away after pressing on Add button, then remember to make a copy.

 

password-generate

 

2. Login to OneDrive

Automatic mode

From now, you can save a lot of time while connecting to the OneDrive server.  First, in order to use this feature, you have to link your Joomunited account at Menu Settings > General, please click on the WordPress settings link if you have not connected.

 

unconnected-onedrive

 

Then go back to the settings and just click on Connect OneDrive button for OneDrive Personal or Connect OneDrive Business button for OneDrive Business on the right corner.

 

automatic-onedrive

 

Then follow the next steps to finish the connection.

 

auto-onedrive-connected

 

Manual mode

With the credentials in the previous step, please go to WordPress admin and click on the menu WP File Download > Configuration > Cloud Connection tab > Onedrive settings section. Paste your

  • Client ID
  • Client Secret

 

credentials-copy

 

After that, save the configuration and then click on the Connect OneDrive button.

 

connect-onedrive

 

You'll have to validate the access authorization for app access, just click Yes.

 

app-authorisation

 

The connection should be a success ☺.

With the OneDrive Business, after connecting successfully, you will see the "Watch Changes" button. You should turn it on if you want to synchronize immediately Files and Categories from OneDrive Business to WP File Download.

 

watch-change-button-onedrive

 

Then you can create files, categories, and subcategories in OneDrive & in WP File Download, everything will be synchronized!

 

wordpress-to-onedrive