Microsoft Outlook Sync Fails
Is there any issue with the Outlook/Microsoft integration? Just noticed that email are not syncing? Says sync failed in the settings, how can I help debug it and how do I rerun the sync when it fails?
19 Replies
Hey @Guillaume, could you please give this a look when you have time to do so ?
Looking at it today !
Thanks for reporting @Wayne
Let me know if you need any logs etc
@Guillaume is there a way I can resync whilst I wait for a fix?
Remove your email account and start again your synchronization
This should work
In case you notice any strange log error, let me know (it can help to solve the issue)
@Wayne is your issue solved? Microsoft integration is still quite new and we might have some uncovered edge case that I'm interested into troubleshooting, let me know how it goes
@charles no it isn't, I disconnect and reconnect and the sync still failed - I assume it continues server side if I nav away?
yes it is
are you seflhosting or on cloud?
cloud
ok, I'll take a look at your case this we, do you allow me to impersonate your workspace? could you DM me with your email address (I think I already have it but to doublecheck)
I have sent you a DM
I've been using it self-hosted recently, and on the first attempt I also encountered the error that the sync had failed. After I removed it and reconnected, it has now been running continuously for more than a day, but at the moment I don't see any new records. Additionally, I've noticed that previously linked calendar entries have disappeared again, but instead old entries have appeared. So where there were current appointments with a person before, now only old appointments are visible, not the current ones.
But overall, it's a great thing, and thanks for the implementation! In the long run, it would certainly be cool if you could also reply directly via email at this point, wouldn't it?
@charles did you get my DM, issue is still present
@charles
@Wayne I'm taking a look today, got your DM
@charles I've noticed it now tells me when my mailbox is disconnected and that there is now a reconnect options, however, after I reconnect, nothing seems to happen and it still says "Sync Failed"
Keeping my eye on this.. I tried to set it up and also seeing "sync failed". Just based off of the web calls I can see Microsoft calling back to my self-hosted instance with an access code, but then I see errors in the container logs suggesting that the access token is undefined.
Thank you guys for your messagesa, I will investigate myself this week. Keep posting your discoveries so that we can find a solution. TBH debugging Microsoft is not a piece of cake 🙂 so the more clue from you, the faster we will solve this !!!
So I think I found the root problem. Microsoft make the refresh token expire (while google doesn’t) so the work I did needed a bit of rework. I opened a PR yesterday and it should be present in the next release.
GitHub
microsoft sync failed by guillim · Pull Request #10381 · twentyhq/t...
This PR is supposed to solve an issue with the syncrhonisation of messages, specifically with microsoft driver. Microsoft calls don't need access_Token so refreshing toekns was not implemen...
I'll reconnect now and try it - don't all refresh token expire, some just sooner than others I guess!