Hi,
Yes, that's my misunderstanding. Thanks for point out that.
And great to know that the issue has already been resolved and thanks for sharing the solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer : )
--------------
Issue Symptom:
IMAP configuration:
Client successfully connects via IMAP: 993 SSL and 587 STARTTLS
But getting the notification all the time:
Resolution:
It is not enough to apply the settings in Set-ImapSettings. You must additionally set FQDN, AdvertiseClientSettings and TlsCertificateName
Details: