Integrate Microsoft OneDrive

  • Updated

Microsoft OneDrive is a file hosting and synchronization service operated by Microsoft as part of its web version of Microsoft Office. OneDrive saves documents, photos, and other files in the cloud, shares them with peers, and even collaborates on content. The Microsoft OneDrive connector lets you import and export assets between their OneDrive folders.

Architecture and authentication

The OneDrive connector lets you authenticate with Microsoft through OAuth to browse and select files to import to the Optimizely Content Marketing Platform (CMP) or export from CMP to their OneDrive folders. Connect your account to OneDrive folders. The following image shows the processes between the platforms.

Integrations-OneDrive-8.png

Permissions granted to the integration for each user are as follows:

  • Email – View the user's email address
  • Files.ReadWrite – Have full access to user files
  • offline_access – Maintain access to data you have given access to
  • profile – View the user's basic profile
  • User.Read Sign in and read user profile

Connect Microsoft OneDrive

To integrate with Microsoft OneDrive, connect your OneDrive account.

  1. Select your avatar > your name (account settings).
  2. Select the Misc. tab.
  3. Click Connect.

    Integrations-OneDrive-1.png

  4. Authenticate your OneDrive account. OneDrive becomes connected and the option to use the connector displays in the library and tasks.

    Integrations-OneDrive-2.png

Some organizations must place this connection to your account on an allow list. If so, your Microsoft administrator is notified. Follow up with them to let you complete setup.

Import assets from OneDrive

To import assets into a task:

  1. In a task, select Add Content > Upload from OneDrive. The Upload Content dialog box displays.

    Integrations-OneDrive-3.png

  2. Authenticate your OneDrive account. A file explorer displays your OneDrive files.

    Integrations-OneDrive-4.png

  3. Locate the files you want and click Select. The files upload to your task. 

To import assets into the library:

  1. In the library, click Upload. A dialog box displays.

    Integrations-OneDrive-5.png

  2. Click OneDrive.
  3. Locate the files you want and click Select. The files upload to your library. 

Export assets to OneDrive

In a task, in Detail or Grid views, select the options menu (...) > Export to OneDrive.

Integrations-OneDrive-6.png

You can export a batch of files by selecting each within the Grid view in the Content tab of the task. Select the assets then select the options menu (...) > Export to OneDrive

Integrations-OneDrive-7.png