- Home
- Workspace
- Administration
- Connecting external services
- Integrating ONLYOFFICE with OneDrive
Integrating ONLYOFFICE with OneDrive
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.
Creating authorization keys
You will have to setup authorization keys for OneDrive. Follow these steps:
- Go to Microsoft Azure.
- Sign in to your account.
- Сlick the New registration button at the App registrations page.
- Enter your application Name.
- Enter "https://service.onlyoffice.com/oauth2.aspx" in the Redirect URL field.
- Click the Register button at the bottom of the page;
- Copy or write down the
Application (client) ID
displayed at the Overview page. - Switch to the Certificates & secrets section on the left.
- Click the New client secret button.
- Enter the description and click Add.
- Copy or write down the
Client secret
displayed in the Value field.
Connecting your OneDrive to ONLYOFFICE
- Enter your portal.
- Click the Documents link on the start page.
- In the opened 'Documents' module, click the OneDrive icon under the 'Connect' caption at the left sidebar.
Or, go to the 'Settings' section at the left sidebar, choose 'Connected clouds' option and click the Connect cloud button.
- Log in to your OneDrive account.
- Press the Yes button to let ONLYOFFICE access your OneDrive account.
- Specify the title of a new folder where the documents from your OneDrive account will be located or leave the default option as it is.
- Click the Save button.
If you use the Connect cloud button in the 'Connected clouds' section or Connect link, you'll also see other options: SharePoint, OneDrive for Business, ownCloud, kDrive, Yandex.Disk, DocuSign and Other account. If you click the OneDrive for Business button you'll be redirected to the SharePoint form. Fill out the form as it's described bellow but using the OneDrive for Business login details and connection url.
OneDrive for Business / SharePoint
- Enter the Connection url.
The URL address must look like this: https://******-my.sharepoint.com/. The parts of the URL address followed after the top-level domain .com should not be specified.
- Fill out the Login and Password fields specifying the credentials that you use to access your Office 365 account.
- Specify the title of a new folder where the documents from your OneDrive for Business / SharePoint account will be located or leave the default option as it is.
- Click the Save button.
Your documents will be available in the specified folder in the 'Documents' module of your portal. Now you can:
- edit the data stored at OneDrive right in Online Editors without any additional downloads,
- share the files from the connected clouds with your colleagues,
- move them between the accounts,
- download resource folders to any other location.
Editing your OneDrive documents
- Locate the OneDrive folder and open it.
-
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. - Click Convert.
- 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.