"Unknown error" or "clock error" when you activate Outlook 2016 for Mac

When you are activating Microsoft Outlook 2016 for Mac, you may receive one of the following error messages: 

An unknown error has occurred, the error code is: -805240834

An unknown error has occurred, the error code is: 0

Clock error: The system clock is inaccurate, please set it to current local time.

To resolve this issue automatically, run the script from the following TechNet website: 

Script disclaimer

Scripts are not supported under any Microsoft standard support program or service. Scripts are provided AS IS without warranty of any kind. Microsoft disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the scripts remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts, even if Microsoft has been advised of the possibility of such damages.
To resolve this issue manually, follow these steps:
  1. Exit all open Microsoft Office applications. This includes Outlook and Microsoft OneNote.
  2. On the menu bar, click Go, select Utilities, and then double-click Terminal.
  3. Type the following text, and then press Enter in the Terminal Window:
    killall "Office365ServiceV2"
    Note If you receive the message "No matching processes belonging to you were found," the Office365ServiceV2 service is not running. Go to the next step.
  4. In Terminal, type the following text, and then press Enter:
    cd ~/Library/Group\ Containers/UBF8T346G9.Office
  5. In Terminal, type the following text, and then press Enter:
    ls -a | perl -n -e 'print if m/^[e|c]\w/' | xargs rm
  6. Open Outlook or OneNote, and verify that you can sign in and activate successfully.

Article ID: 3025946 - Last Review: 08/11/2015 20:28:00 - Revision: 3.0

Outlook for Mac for Office 365, Microsoft OneNote for Mac, Microsoft Outlook 2016 for Mac

  • KB3025946