The HasCloudMX function should check whether the "*.mail.protection.outlook.com" MX record exists. However, in case this record does not exist, "False" is returned. When .Count is taken from this result this returns 1, which is greater than 0 and returns the whole function as True.
The HasCloudMX function should check whether the "*.mail.protection.outlook.com" MX record exists. However, in case this record does not exist, "False" is returned. When .Count is taken from this result this returns 1, which is greater than 0 and returns the whole function as True.