Administrators can deploy the NetBeez macOS Remote Worker agent silently across managed Apple laptops and desktops using a shell script policy in Microsoft Intune.
In this article:
Prerequisites
Your NetBeez Server Secret Key, located by NetBeez Administrators in Settings → Information & Health under Server Information, plus available Remote Worker license entitlements in Settings → License.
Administrative access to the Microsoft Intune admin center with target macOS 10.15+ devices enrolled.
Step 1 — Download and Configure the Installation Script
Download the official NetBeez macOS shell installation script from GitHub:
NetBeez_Agent_Install.sh.Open
NetBeez_Agent_Install.shin a text editor and configure your--secretkeyvalue along with any desired optional flags—such as--disablecontrol=1to prevent end users from stopping the agent or--requestlocationservices=1to prompt once for enhanced Wi-Fi diagnostics. For the complete list of flags, see macOS Remote Worker Agents - Command Line Parameters.
Step 2 — Deploy the Shell Script in Microsoft Intune
Sign in to the Microsoft Intune admin center and navigate to Devices → Scripts → Add → macOS (or Devices → macOS → Shell scripts → Add).
In Basics, enter a Name (for example,
NetBeez macOS Remote Worker) and an optional Description, then select Next.In Script settings, configure the following properties and select Next:
Upload script: Browse to and select your edited
NetBeez_Agent_Install.shfile.Run script as signed-in user: Select No (default) so Intune executes the installer as the
rootuser.Hide script notifications on devices: Keep default to display standard Intune configuration notifications, or hide notifications according to your IT policy.
Script frequency: Select Not configured (default) so the installation script runs once per device.
Max number of times to retry if script fails: Choose Not configured (default) or select a retry count if endpoints experience intermittent connectivity.
In Assignments, click Select groups to include (or Add groups), choose one or more Microsoft Entra ID user or device groups to receive the Remote Worker agent, click Select, and select Next.
In Review + add, review your settings summary and click Add to save and deploy the script policy.
Step 3 — Verify Agent Registration
As managed macOS devices check in with Microsoft Intune and execute the script, each endpoint registers automatically and appears online in Agents → Remote Workers. From there, you can assign Targets and Agent Groups via Manage Assignments. For Windows Intune deployments, see Windows Remote Worker Agent Installation with Intune.
