- Office 365 Login Portal
- Mailstore Office 365 Sign In
- Office 365 Outlook Login
- Mailstore Office 365 Sync
MailStore Server provides several options to export archived emails. Emails can be exported directly into server mailboxes or to the file system as individual email files (EML or MSG format), for example.
Please note: Backup strategies (a backup of the entire archive) are discussed separately in the article Backup and Restore.
Available Export Destinations
- Although some plans of Office 365 come with the option to archive emails, users of Office 365 can benefit from deploying an additional third-party tool like MailStore Server!
- In order to synchronize user account information from Office 365, MailStore Server requires a service principal which has been granted permission to access the Office 365 tenant. The service principal represents MailStore Server in the Office 365 tenant and makes it possible to authenticate to the tenant's services and use their resources.
HOW TO Backup Office 365 Mailboxes? Kernel Office 365 Backup & Restore is a smartly designed software that offers a smooth experience to users for the backup & restoration of Office 365 mailboxes. The GUI of the tool is designed in such a way that even beginners can easily backup & restore their data with it.
Email Server
- Microsoft 365 Mailbox - A folder named MailStore Export is created in the Microsoft 365 mailbox into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
- Exchange Mailbox - A folder named MailStore Export is created in the Exchange mailbox into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
- G Suite - A folder named MailStore Export is created in a G Suite mailbox into which emails are copied.
- Gmail - A folder named MailStore Export is created in a Gmail mailbox into which emails are copied.
- IMAP mailbox - A folder named MailStore Export is created in an IMAP mailbox into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
Email Clients
- Microsoft Outlook - A folder named MailStore Export is created in Microsoft Outlook into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
- Mozilla Thunderbird - A folder named MailStore Export is created in Mozilla Thunderbird into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
- Mozilla SeaMonkey - A folder named MailStore Export is created in Mozilla SeaMonkey into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
Email Files
- Directory (File System) - Either EML or MSG files are created (one per email). When enabling the option Update existing export only not already existing email files will be written into the target folders, or else all email files will be written again. The option Sign Export allows to ensure integrity of the exported data outside of the archive. Refer to Verifying a Signed Export for further details on how to verify integrity. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
- Outlook PST File - A folder named MailStore Export is created in a Microsoft Outlook PST file into which emails are copied. If the option Retain folder structure is checked, the archive's folder hierarchy will be created in the destination, otherwise all email will be stored in the same folder.
Please note: EML files can be opened independently from MailStore Server by double-clicking and moving to applications such as Mozilla Thunderbird via drag & drop. Outlook MSG files can be opened or archived directly with all versions of Microsoft Outlook.
Starting an Export
Depending on the user's permissions, MailStore Server allows to export multiple emails in one step. Exporting or opening individual emails is possible at all time.
Using the folder tree
Right-click on an element in the folder tree (user archive, folder or saved search), then select Export to... from the context menu and select the export destination. A dialog appears in which additional settings may have to be specified.
Using the list of emails
Highlight the emails to be exported by holding down the control key (Ctrl) and clicking onto the emails. Pressing Ctrl and A selects all emails. Right-click on the highlighted emails, then select Export to... from the context menu and select the export destination. A dialog appears in which additional settings may have to be specified.
Using the page 'Export Email'
On this page, exporting tasks can be created and executed as export profiles (just like archiving profiles). Export profiles hold information about which emails will be exported to which destination. Each profile (i.e. the exporting task) can be executed manually or regularly according to a schedule. To learn more, please read on in the next section.
Working with Exporting Profiles
Office 365 Login Portal
In MailStore Server, every exporting task is stored as an exporting profile. The exporting process is started by executing such a profile.
Such an exporting profile could contain the following information:
- WHAT: Mailbox p.berten@company.com
- TO: Exchange Server EXCHANGE01
- SCOPE: All folders except drafts
Like archiving profiles, existing export profiles can be executed, modified, deleted or even executed automatically. Further details can be found in the chapters Working with Archiving Profiles and Automating the Archiving Process
Important notice: Be aware that an export does not verify if the messages already exist in the destination. Therefore duplicates are created in the selected destination when re-executing an export profile multiple times. Thus is is not recommended to automate the execution of export profiles. Only exception is the Directory (File System) export profile, where MailStore Server is able to do a comparison based on the file names.
Creating an Export Profile
To create a new export profile, please proceed as follows:
- Start MailStore Client on the computer which is to execute the export. Log on as administrator if the emails of other users are to be exported as well. Only a MailStore Server administrator is allowed to export the emails of others.
- Click on Export Email.
- From the lists in the upper Create Profile area, select the destination to which emails are to be exported.
- A wizard opens to assist in specifying the export settings.
- At the first step, specify which folder is to be exported (subfolders are always included). Depending on the export destination, the file format to be used (e.g. EML , MSG or PST) can be selected as well. Click on Next.
Please note: Below the list of folders, a saved search can also be selected. MailStore runs the search before executing the actual export procedure; all emails returned by the search will be exported. - At the second step, specify the exact target location to which emails are to be exported. For example, if Exchange Mailbox was selected as export destination earlier, the access data for the target mailbox can be specified and verified by clicking on Test. Then click on Next.
- Depending on the export destination specified, additional settings can be selected at the next step. For example, if IMAP mailbox was selected as the destination, a timeout value can be set, if needed.
- At the last step, a name for the export profile can be specified. After clicking on Finish, the profile will be listed under Saved Profiles and can be run immediately, if desired.
Symptom/Problem:
During user synchronization appears the error message:
Requesting Microsoft Graph API token failed: AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.
OR
Die Anforderung eines Microsoft Graph API-Tokens ist fehlgeschlagen: AADSTS7000222: The provided client secret keys are expired.
Root Cause:
A 'Service Principal' is required to synchronize users from the Office 365 Azure Active Directory with MailStore.
In case the password of the 'Service Principal' has expired the mentioned error message appears.
Solution:
Please check with the 'Get-MsolServicePrincipalCredential' PowerShell command if the password of the 'Service Principal' has expired:
https://docs.microsoft.com/en-us/powershell/module/msonline/get-msolserviceprincipalcredential
Mailstore Office 365 Sign In
Use the name of the 'Service Principal' that is configured in MailStore to check the password.
Example:
Connect-MsolService
Get-MsolServicePrincipalCredential -ReturnKeyValues 1 -ServicePrincipalName 'MailStoreSP'
You can use the 'New-MsolServicePrincipalCredential' PowerShell command to create a new Password for the current 'Service Principal':
https://docs.microsoft.com/en-us/powershell/module/msonline/new-msolserviceprincipalcredential
Replace the Value 'Pa$$w0rd' with your own password.
Example:
Connect-MsolService
New-MsolServicePrincipalCredential -ServicePrincipalName 'MailStoreSP' -Type Password -Value 'Pa$$w0rt' -StartDate (Get-Date) -EndDate (Get-Date).AddYears(1)
Important Note:
On September 20th, 2019 Microsoft announced the end of support for Basic Authentication for Exchange Online APIs in the future. This affects any MailStore Server version prior to 13, which will therefore no longer be able to authenticate users against Microsoft 365 when trying to log into MailStore Server.
Office 365 Outlook Login
In MailStore Server 13, support for modern authentication methods via OAuth 2.0 & OpenID Connect as per Microsoft's recommendation was introduced. Therefore, please refer to the chapter Synchronizing User Accounts with Microsoft 365 (Modern Authentication).Mailstore Office 365 Sync
Article-ID: KB20171123-0-EN (Deutsche Version)