TwentyT
Twenty9mo ago
11 replies
BigBadVoodoo

M365 email and calendar sync fails

Hi, using 0.53 here! We are failing to sync emails and calendar data but everything seems to be configured correctly on both ends
Attached on this message you can find our Azure config.

The worker keeps sending us these lines :
worker-1  |     CalendarEventImportException [Error]: Unknown error importing calendar events for calendar channel 22a91... in workspace b75a47b9-76e7-4ae9-96bb-35fb58891833: Access token is undefined or empty.


We also get some 401's for emails on some users
I attached the full worker logs as well

The Microsoft config is the following in
.env
:
MESSAGING_PROVIDER_MICROSOFT_ENABLED=true
CALENDAR_PROVIDER_MICROSOFT_ENABLED=true
AUTH_MICROSOFT_ENABLED=true
AUTH_MICROSOFT_CLIENT_ID=clientid
AUTH_MICROSOFT_CLIENT_SECRET=clientsecret
AUTH_MICROSOFT_CALLBACK_URL=https://crm.nuabee.fr/auth/microsoft/redirect
AUTH_MICROSOFT_APIS_CALLBACK_URL=https://crm.nuabee.fr/auth/microsoft-apis/get-access-token
1.png
2.png
worker.log155.29KB
Was this page helpful?