Welcome to the Microsoft Q&A platform!
Based on your description, it looks like you are experiencing OWA authentication issues when the user account is in the database of an Exchange 2019 server. Here are a few steps you can take to troubleshoot and potentially resolve this issue:
- Look for any relevant errors in Event Viewer on the Exchange 2019 server. This can provide more insight into the issue that is occurring during the logon process.
- Since you are using a hybrid of Exchange 2016 and 2019 servers, make sure that Kerberos authentication is configured correctly. Misconfiguration can cause authentication issues.
- Verify that the OWA virtual directory URL on the Exchange 2019 server is configured correctly. Mismatched URLs can cause redirection issues.
- Compare the authentication settings for the OWA virtual directory on the Exchange 2019 server with the authentication settings on the Exchange 2016 server. They should be consistent on all servers.
- Make sure that the SCP for the Exchange 2019 server is configured correctly. The client uses the SCP to locate the Autodiscover service.
- Make sure the DNS records for your Exchange environment are configured correctly. Incorrect DNS settings can cause clients to connect to the wrong server.
- If you use a load balancer, check the configuration to make sure traffic is being directed correctly to the Exchange 2019 server.
- Make sure the SSL certificate on the Exchange 2019 server is valid and matches the name the client is using to connect.
- Make sure your Exchange 2019 server is updated with the latest cumulative updates and security patches.
- Sometimes browser-specific issues can cause problems with OWA. Test the sign-in process with different browsers to rule this out.
Because this issue does not occur when explicitly using the address of the Exchange 2019 server, this indicates that the issue may be related to how the request is routed or authenticated when it passes through the Exchange 2016 server. By following the steps above, you should be able to narrow down the cause of the issue and find a solution.
Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.
Best,
Jake Zhang