04-23-2020 04:01 AM
04-23-2020 04:01 AM
I have a problem with the calendar sync between exchange online/Teams for a customer.
I configured Azure AD Connect with the hybrid option and users are synced to the cloud and licensed with O365 E3.
I setup exchange hybrid on an exchange server 2016 CU11 with the new version of the Hybrid Wizard, ending with the OAuth error after the first run. So I configured OAuth manually with the docs.microsoft manual and calendar sync was working, for 1 day. At the next day it wasn't working and I couldn't get it running again since then, 3 weeks ago.
I checked all OAuth config elements, reastablished them individually, startet the Hybrid Wizrad several times, always ending with the OAuth error. I tested with teh test-oauthconnectivity cmdlet in both directions which ends always successfull, restarted the server and services several times, checked the availability service and with the remote connectivity analyzer for free/busy and everything was successful but sync is still not working again.
Can someone help me with this issue or has tipps to chekc further?
04-23-2020 04:15 AM
@Julian12 Hello, can this assist you perhaps? https://docs.microsoft.com/en-us/exchange/hybrid-deployment/troubleshoot-a-hybrid-deployment
04-23-2020 05:26 AM
@bec064Thx for the Link, I went through it an 2 things occured:
THe Inbound SMTP Mail test failed with error: 550 - Mailbox unavailable. The server response was: No RDNS entry for IP_ADDRESS
I think this is not problematic as this test fails too for a customer where sync is working.
Another issue is the used certificate which is configured only for the IIS service and not for SMTP. I tried to add SMTP via GUI and with exchange commandline but smtp service isn't added. I don't know this happens now as I'm logged in with the Administrator account and no error messages are displayed.
Besides these 2 isssues everything went fine.
Do you have an idea why adding the cert to the SMTP service is failing?
04-23-2020 06:38 AM - edited 04-23-2020 06:39 AM
@Julian12 Hello Julian, you mean nothing happens when you run this 'Enable-ExchangeCertificate <thumbprint> -services SMTP'?
I was going to suggest the solution described here https://support.microsoft.com/en-nz/help/2989382/can-t-receive-mail-in-a-hybrid-environment but as you cant add smtp it's a problem.
Have you had a look at this as well? https://docs.microsoft.com/en-us/exchange/architecture/client-access/assign-certificates-to-services...
04-23-2020 08:14 AM
@bec064yes, nothing happens when I safe the menu in the gui or send the command in the shell.
Yes, I used the site you mentioned at the end.
04-23-2020 01:03 PM
@Julian12 Can you use the Get-ExchangeCertificate cmdlet? How does it look? Did you check all prerequisites and proper permission?
As nothing happens when you're trying to Enable-ExchangeCertificate <Thumbprint> -Services SMTP it's quite difficult to figure out, but I believe this is as close as it gets from what you been experiencing.
If that doesn't help you either, I have to ask you to reach out to the Exchange experts.
04-23-2020 02:26 PM
@bec064Yes, I can use the get-exchangecertificate cmdlet, output should be fine besides the missing SMTP entry in the services field.
Permissions should also be fine, I can do everything else with my admin account.
The problem mentioned in your link is similar but they won't show any resolution to it, so in the end not helpful unfortunately.
Maybe I need to open or move this topic to the exchange community thread to get the attention of exchange experts.
Thanks and Regards
04-27-2020 02:29 AM
@Julian12 Thanks for that! I actually reached out to another member and he suggested that you should raise a ticket with Microsoft support. I was about to send you a message regarding that.
04-27-2020 02:33 AM
@bec064I already did that but they are sending only links to docs.microsoft articles (Oauth, configure modern auth) which didn't help until now.
04-27-2020 08:48 AM
@bec064Per chance do ou know how I can move this thread to the exchange community?
I figured out that the exchagne server is simply not syncing the calender objects to office 365, exchange activesync service should do this instantly but nothing happens.
04-27-2020 01:38 PM
06-05-2020 01:56 AM
I finally solved the main problem, the issue was caused by O365 E3 Test licenses which setup a korrupt mailbox it seems. After desyncing and deleting the affected user accounts, sync was working normally.
Unfortunately all private chat is gone too with the user deletion and so I'm currently searching for a Teams chat history restore but will open a new thread for this issue.