Miscellaneous topics that do not fit into specific categories.
Use Exchange PowerShell to clear those attributes; there is no GUI in Exchange Online for this.
- Connect to Exchange Online:
Connect-ExchangeOnline -ShowBanner:$false - To clear S/MIME certificates on a mailbox (UserSMimeCertificate / UserCertificate):
This sets both multi-valued properties to empty, matching the healthy mailbox output where they show asSet-Mailbox -Identity "ThisUser" -UserSMimeCertificate $null -UserCertificate $null{}. - If the object is a mail user (no mailbox, only mail-enabled user), use Set-MailUser instead:
Set-MailUser -Identity "ThisUser" -UserSMimeCertificate $null -UserCertificate $null - Verify the result:
or, for a mail user:Get-Mailbox "ThisUser" | fl *user*
TheGet-MailUser "ThisUser" | fl *user*UserSMimeCertificateandUserCertificatefields should now be empty ({}).
If there are related per-mailbox user configuration items that are corrupted (for example, S/MIME-related user configuration objects), they can be removed and will be recreated automatically when the feature is used again:
Remove-MailboxUserConfiguration -Identity "<ConfigName>" -Mailbox "ThisUser"
Use Get-MailboxUserConfiguration first (not shown in context) to discover the exact configuration names to remove.
References: