Articles with the tag:
Close
Changelog
Close
Try in the cloud
Try in the cloud

How to edit documents from OneDrive in ONLYOFFICE

You have a OneDrive account and want to edit your documents using ONLYOFFICE? Follow this step-by-step guide to find out how to edit documents stored in your OneDrive from the Documents portal module.

This option is available for ONLYOFFICE Workspace/ONLYOFFICE Workspace Enterprise Edition users only.

Cloud users can skip this section and proceed with Connect your OneDrive to ONLYOFFICE step.

Creating authorization keys

You will have to setup authorization keys for OneDrive. Follow these steps:

  1. Go to Microsoft Azure.
  2. Sign in to your account.
  3. Сlick the New registration button at the App registrations page.
  4. Enter your application Name.
  5. Enter "https://service.onlyoffice.com/oauth2.aspx" in the Redirect URL field.
  6. Click the Register button at the bottom of the page;
  7. Copy or write down the Application (client) ID displayed at the Overview page.
  8. Switch to the Certificates & secrets section on the left.
  9. Click the New client secret button.
  10. Enter the description and click Add.
  11. Copy or write down the Client secret displayed in the Value field.

Connecting the OneDrive service

  1. First of all go to the Settings section. To do that click the Settings icon icon in the right upper corner.
  2. Switch to the Integration tab.
  3. Open the Third-Party Services page.
  4. Click the sliding button right of the OneDrive logo.
  5. Enter your keys and click the Enable button.

Connect your OneDrive to ONLYOFFICE

  1. In the left sidebar of the Documents, just below the text Connect, click on the OneDrive icon OneDrive icon.
  2. Login to your Microsoft account.
  3. Allow ONLYOFFICE to connect to your OneDrive by clicking the button. Your OneDrive documents will be shown in ONLYOFFICE documents as a folder.
  4. Change the folder‘s name, if necessary.
  5. If you want the OneDrive documents to be visible for anyone, click the Make shared checkbox and put into the Common Documents folder. If not checked, your OneDrive account will only be visible to you.
    This step is not available while working in ONLYOFFICE Personal.
  6. Click Save.

Edit your OneDrive documents

  1. Locate the OneDrive folder and open it.
  2. Browse to the file you want to edit and click it.
    If necessary, a dialog will tell you that the document will be converted to the OpenOffice XML format for faster viewing and editing.
    You can choose to keep the original file as well, by checking the Save the file copy in the original format as well box.
  3. Click Convert.
  4. Click Open when the message appears that your document is successfully converted.

Now you can edit your document (if editable). After editing, you can simply close the document and the changes will be saved.

Download Host on your own server Available for
Docker, Windows and Linux
You Might Also Like This:
Close