Skip to main content
Run these with the installed binary:
A from-source build uses ./target/debug/mspilot-agent the same way. enroll takes --gateway-url or the environment variable MSPILOT_GATEWAY_URL. --region ca, --region us, or --region eu selects https://{region}.gateway.mspilot.io only when no gateway URL is set. United Kingdom and Australia organizations pass the gateway URL from Deployment. After enroll, later commands use the gateway URL the server returned. The enrollment key is only the environment variable MSPILOT_ENROLLMENT_KEY. Passing --enrollment-key fails as an unknown argument. On the device list a machine is active, pending approval, not enrolled, or revoked. A global key can also leave a machine Unassigned when the RMM has no record to place it. Disable a device to free its seat. Pending sync means the RMM has not reported the machine yet. It shows in the job output, not as a device-list filter. You do not click anything. The agent retries at the next sign-in, and the machine moves on once the RMM reports it.
Last modified on September 24, 2026