This issue may occur if you send the encrypted message by using Microsoft Outlook Web Access (OWA). The S/MIME Control in OWA cannot encrypt mail to query-based distribution groups. The GetCert code treats the whole nested (a distribution group that is a member of a distribution group) query-based distribution group as a single member.
For example, this issue occurs if you send an encrypted message to a distribution group that is made up of the following two members:
- One member that has a valid digital certificate.
- Another member that is a query-based distribution group that is made up of several members. Some have valid digital IDs and others do not.
In this example, the GetCert code determines that one member has a valid digital ID, and that the member that is representative of the query-based distribution group does not have one. The GetCert code only returns the number of members that are not in query-based distribution groups.