Which version of EMM do you use? Is it possible to reach the Exchangeserver from external? Can you provide us with more information about your configuration? (Dualserver, Exchangeserver) Please post the CMDlet and the output of that script.
Have you updated to the latest version of the device catalog? If devices are not in the catalog they won’t necessarily show up. You can download the latest version from the mcafee download site.