Deployment via MDM to Mac - device doesn't register
I'm working on moving my company to zero-touch deployment for Macs (a little late, I know), and I'm running into issues deploying the Remote Support agent. We are using Intune for MDM.
If I deploy the .pkg installer for the endpoint agent through Intune with the app type "macOS app (PKG)", the app installs successfully, but clicking the icon in the menu bar reveals that it's stuck in an offline state. If I click "About", the CompanyID field is left blank.
I reviewed the config file at /Library/Application Support/LogmeinRemoteSupportUnattended/$COMPANYID/mandatory.json. That file reveals that the CompanyID and CompanyToken keys do not have a value assigned. The WorkFolder field is set to /Library/Application Support/LogmeinRemoteSupportUnattended, omitting the subdirectory with the CompanyID string.
I uninstalled the application and installed the .pkg file manually and reviewed the same json file to find that the CompanyID and CompanyToken keys are assigned values properly, the WorkFolder key is set to include the CompanyID number, and the agent does come online.
We are not going to be allowing users to install software without IT dept approval once we're in zero-touch, so asking our users to install the GTA .pkg themselves won't happen. Intune doesn't appear to support deploying .app files that contain installers as far as I can tell.
Has anyone else seen this issue with Intune or a different MDM suite, and if so, is there a workaround for this?