About
This article explains how to set up the OneDrive integration in Kaltura, including the required Microsoft Azure configuration.
Register an application in Microsoft Azure
Before enabling the OneDrive module, you must register an application in Microsoft Azure.
- Go to https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade.
- Click the +New registration button.
- In the Register an application page, enter the following:

- Name - Enter a meaningful name for the app. (e.g. Kaltura OneDrive integration)
- Check the option: Accounts in any organizational directory (Any Azure AD directory - Multitenant).
- In the Redirect URI, fill in the following:
- Select a Platform: Choose Web.
- Redirect URI: https://{kaltura_site_base_URL}/onedrive/index/blank-page
- Replace "{kaltura_site_base_URL}" with your application base URL.

4. Click Register.
A new application is created, and the Overview tab is displayed. Grab the Application (client) ID, and save it for later.

5. Go to the Certificates & secrets tab and click the +New client secret button.
6. Create a client secret and click Add.
7. Go to the Authentication tab and check the options:
- Access tokens (used for implicit flows)
- ID tokens (used for implicit and hybrid flows)

8. Save your settings.
API Permissions
To get the integration working, you need the following permissions:
- files.read.all: Allows reading all files on the Microsoft 365 platform you have access to.
- openid: Enables multi-factor authentication on the M365 platform.
- profile: Required along with user.read to create a OneDrive URL.
- user.read: Grants read access to user profile information.
Make sure that your site name does not have underscores. If it does, delete the underscores when you type it in.
Configure the OneDrive module
In the Configuration Management console, go to the OneDrive module.
- Configure the following:
- enabled – Set to 'Yes'.
- allowedRoles – Select the minimum role allowed to import files from OneDrive.
- applicationId – Enter the Application (client) ID from Azure.
2. Click Save.
For detailed module settings, see OneDrive module.

