Overview
You may encounter the following error in webmail (on an account where Microsoft Teams Calendar integration is used) after upgrading Kerio Connect:
Microsoft account error
Calendar folders could not be loaded from the Microsoft account
failed to acquire MS Access token
(monitor_window_timeout)
Solution
This issue can be resolved by reintegrating the Microsoft account following the below steps:
- Stop the Kerio Connect server
-
Navigate to the Kerio Store folder. The default paths are:
-
Windows:
C:\Program Files\Kerio\MailServer\store\
-
macOS:
/usr/local/kerio/mailserver/store/
-
Linux:
/opt/kerio/mailserver/store/
-
-
From the store folder, navigate to the user's folder:
/mail/[domain]/[username]
- For example, for the email address username@domain.com, navigate to the folder:
mail/domain.com/username
- For example, for the email address username@domain.com, navigate to the folder:
- Backup the settings.cfg file
- Open the setting.cfg and find the ''microsoftCalendars'' and "microsoftStorage" array. It should look like below when linked to a Microsoft account:
-
Delete the variable from those arrays and reset it to system default:
- Start the Kerio Connect Service and re-link the Microsoft Teams calendar and the issue should no longer occur.
Summary
This article guides you through the steps to reset the Microsoft Teams Calendar integration error in Kerio Connect, which entail modifying the settings file of affected accounts.
FAQ
-
What are the common symptoms of this integration error?
Users may see error messages like "Microsoft account error" or "failed to acquire MS Access token" in their webmail. -
What should I do if the error persists after following these steps?
Ensure you've followed all the steps correctly. If the issue persists, contact Kerio Connect support for further assistance. -
Can this issue affect all users on the server?
This issue typically affects accounts where Microsoft Teams Calendar integration is used. It's not necessarily a server-wide issue affecting all users.