We are deploying rapid7-insight-agent-4.0.10.72-1.x86_64.pkg via Intune as a macOS app (PKG) type. The devices are successfully checking into the portal, but the Intune Detection Rules are not recognizing that the application is installed.
I’ve set it to ignore the App Version and tried using com.rapid7.rapid7-insight-agent and com.rapid7.ir_agent as the App Bundle ID (CFBundleIdentifier), both individually and together.
Any ideas on how to get Intune to detect the installation?
I do not remember what the error was but I believe it failed to install.
After letting it sit there, Intune eventually updated advising that the R7 was installed
No Pre-install Script
Post Install Script:
#!/bin/bash
sudo /opt/rapid7/ir_agent/components/insight_agent/4.0.10.72/configure_agent.sh --token= -v --start