This page is only available in the MDaemon Remote Administration (MDRA) web-interface. |
The OneDrive Integration feature is similar to MDaemon's Google Drive and Dropbox features. MDaemon Webmail can present users with options to save message attachments directly to their Microsoft OneDrive Work or School account, and to edit and work with documents stored there. In order to enable this, a Client ID and Client Secret are required, which are obtained directly from Microsoft by creating an App using Microsoft's Azure Active Directory. An OAuth 2.0 authentication component is part of this app, which allows your Webmail users to sign-in to OneDrive and then authorize access to their OneDrive Work or School account through MDaemon. Once authorized, users can view their folders and files that are in OneDrive. Further, they can upload, download, move, copy, rename, and delete files, as well as copy/move files to and from the local document folders. If the user wants to edit a document, clicking the option to view the file in OneDrive will allow the user to make edits to it in accordance with their permissions set in OneDrive. The OneDrive setup process is similar to MDaemon's MultiPOP OAuth Integration feature.
Enable OneDrive Integration
Click this checkbox to enable OneDrive Integration. See: Creating and Linking Your OneDrive OAuth App below.
OneDrive Client ID
This is the unique Client ID assigned to your OneDrive app when you create it in Microsoft Azure. After you create your app, copy its Client ID and paste it here.
OneDrive Client Secret
This is the unique Client Secret assigned to your OneDrive app when you create it in Azure. After you create your app, copy its Client Secret and paste it here.
Redirect URI
You must specify one or more Redirect URIs when creating your OneDrive app. The sample Redirect URI is built from your Default Domain's SMTP host name, which should work for that domain's users when signing in to Webmail. You should add additional Redirect URIs to your app for any additional MDaemon domains your users go to when signing in to Webmail. For example, "https://mail.example.com/WorldClient.dll?View=OAuth&AuthRequest=OneDrive" would work for any of your users who go to mail.example.com when signing in to Webmail.
Edit text of privacy policy
OneDrive integration requires that you periodically present a link to your users to an approved privacy policy. Click this button to edit your privacy policy.
Step-by-step instructions for creating your OneDrive OAuth 2.0 app.
Once you have created your OneDrive app and configured MDRA's OneDrive page according to the instructions above, each user who wishes to access their Work/School Microsoft OneDrive account in Webmail must first authorize access to do so. Note: Microsoft does not allow personal accounts to connect to OneDrive through this setup. Only work/school accounts can be used here.
To authorize MDaemon to access your Work or School OneDrive account:
1.Sign-in to Webmail's Pro theme.
2.Click the Settings icon in the top right corner.
3.Click Cloud Apps.
4.Click Setup OneDrive.
5.This will open an OAuth 2.0 dialog.
6.Click Connect to OneDrive.
7.If you are not signed in, Microsoft OneDrive will ask for your sign-in information.
8.Once you are signed in, Microsoft OneDrive will ask if you want to grant MDaemon access to your Microsoft OneDrive account.
9.When you close the OAuth 2.0 dialog, this page will reload shortly thereafter.
Connecting your MDaemon account to your Microsoft OneDrive account allows you to:
•Save message attachments to Microsoft OneDrive
•Upload files to Microsoft OneDrive.
•View a list of Microsoft OneDrive Folders in the folder list.
•Delete and Download files located in Microsoft OneDrive Folders.
•Copy files from MDaemon Document folders to Microsoft OneDrive Folders.
•Copy and move files from Microsoft OneDrive Folders to MDaemon Document folders.
OneDrive Limitations:
•Drag and Drop is not available for the OneDrive folders.
•You cannot copy/move from OneDrive to Google Drive or Dropbox, or vice versa.
•You cannot create/delete OneDrive folders.
See: