By accident, we found that if we add a Hosts element as a child element of VersionOverrides version 1.0 in the manifest, it will prevent the addin from appearing in Outlook for Mac and classic Outlook for Windows.
See below
...
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Hosts>
<Host xsi:type="MailHost">
</Host>
<Hosts>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xsi:type="VersionOverridesV1_1">
...
</VersionOverrides>
</VersionOverrides>
Is this a valid and acceptable way to achieve our goal of preventing the addin from appearing in Outlook for Mac or classic Outlook for Windows? Why?
There doesn't seem to be any documentation out there referring to this and we want to make sure we are doing it properly.