It sounds like the problem is caused by the difference in how Microsoft Exchange Online and Azure Communication Services handle S/MIME signatures. When you use Exchange Online, the service may correctly detect and process S/MIME signatures to display a "Verified email address" banner in Gmail. However, when you switch to Azure Communication Services, the S/MIME signature doesn't seem to be interpreted correctly, causing it to appear as an attachment instead of a verified signature.
Considering that your issue is mostly focused on Azure Communication Services, and I'm only focusing on Exchange and mail flow, I'll just give a few superficial suggestions:
- Test sending the signed email to an email client other than Gmail to see if the problem persists. This may help determine if the issue is specific to how Gmail handles email from Azure Communication Services.
- Make sure that the Content-Type header in the email is set correctly when sent through Azure Communication Services. S/MIME-signed emails typically use specific MIME types that need to be properly recognized by the email client.
- Make sure your Gmail account and other email clients are configured to handle S/MIME signatures correctly.
- Double-check the configuration settings for Azure Communication Services to make sure there are no restrictions or specific settings that might affect how email is sent.
- Continue to wait for the technical support from Azure Communication Services tag.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".