Documentation

Troubleshoot Mac deployment and enrollment

Find where a Mac deployment stopped, check Intune and Rapport logs, correct enrollment profiles, and retry or reinstall one device deliberately.

Access Rapport admin or owner; Intune app/profile access; local Mac administratorConsole path /app/admin/agents?panel=installReviewed

Before you start

  • One affected Mac that is awake, online, and available to its administrator. Confirm its computer name and the intended Rapport organization.
  • Access to the Rapport PKG app and enrollment profile in Intune, including device assignment results and error codes.
  • Terminal commands below are for the current Rapport Mac package. Existing service names, receipt IDs, and protected paths retain dexiq for compatibility. Do not change them to match the display name.
  • Inspect first. The profile check hides token values; do not paste complete preference files, credentials, or unredacted logs into email. The retry and uninstall steps state when they change the device.

Find the failing stage in Intune

Open the affected Mac’s record in Intune. Check Managed apps for the Rapport PKG and Device configuration for the Rapport Enrollment profile. Record each result and its timestamp. Check group membership, assignment exclusions, and macOS 14-or-later eligibility.

Fields and controls for Find the failing stage in Intune
Field or controlWhat to do
No assignment or Not applicableFix the app/profile target group or OS requirement first. An offline Mac cannot receive a new token or package.
Pending or waiting for check-inOn the Mac, open Company Portal → Devices → select this Mac → Check status. This requests both MDM and Intune-agent check-ins; admin-center Sync alone does not force the Mac agent check-in.
PKG failedRecord the exact code and open the Intune and macOS installer logs in step 4. Confirm the installed Intune management agent is version 2308.006 or newer.
PKG installed, profile missing or failedCorrect the profile assignment or upload. Rapport can be installed while waiting for enrollment configuration.
Both succeeded, but absent from RapportContinue with the local receipt, profile, and enrollment-log checks. Intune success is not proof of a Rapport heartbeat.
pgrep -il "^IntuneMdm"

Verify the installed package and binary

In Terminal, check the package receipt and the installed executable. These are read-only checks. For the current PKG, Intune’s Included apps detection ID must be com.rezolveai.dexiq-agent, not the newer enrollment-profile domain.

pkgutil --pkg-info com.rezolveai.dexiq-agent
if [ -x /usr/local/dexiq-agent/agent ]; then
  echo "Rapport agent binary is present."
else
  echo "Rapport agent binary is missing."
fi

What you should see: For a PKG installation, the receipt reports its identifier and version and the executable is present. Otherwise check the installer log before repairing the package.

Check the managed enrollment profile without printing its token

Run this read-only check on the Mac. It checks the current and legacy device-level preference domains, reports token presence, and compares them without displaying either secret. It does not confirm whether a token is active in Rapport.

sudo /bin/sh <<'SH'
current_token=''
legacy_token=''
for domain in com.rezolveai.rapport-agent com.rezolveai.dexiq-agent; do
  profile="/Library/Managed Preferences/$domain.plist"
  if [ ! -f "$profile" ] || [ -L "$profile" ]; then
    printf '%s: missing or not a regular file\n' "$domain"
    continue
  fi
  /usr/bin/stat -f '%Su %Sp %N' "$profile"
  if value=$(/usr/bin/plutil -extract EnrollmentToken raw -o - "$profile" 2>/dev/null) && [ -n "$value" ]; then
    printf '%s: EnrollmentToken is present (value hidden)\n' "$domain"
    case "$domain" in
      com.rezolveai.rapport-agent) current_token="$value" ;;
      com.rezolveai.dexiq-agent) legacy_token="$value" ;;
    esac
  else
    printf '%s: EnrollmentToken is missing, empty, or unreadable\n' "$domain"
  fi
done
if [ -n "$current_token" ] && [ -n "$legacy_token" ]; then
  if [ "$current_token" = "$legacy_token" ]; then
    echo 'Both profiles contain the same token.'
  else
    echo 'CONFLICT: the two profiles contain different tokens.'
  fi
fi
unset value current_token legacy_token
SH
  • Missing or empty token: correct the EnrollmentToken key and profile assignment in Intune, then use Company Portal → Check status. Verify delivery on this Mac.
  • Conflict: edit or withdraw the obsolete profile assignment in Intune. Do not leave the current and legacy domains assigned with different token values. Do not manually edit MDM-managed preference files.
  • Files must be root-owned and must not be group- or world-writable. A permission refusal in the enrollment log needs the profile delivery or permissions issue corrected.
  • For a pre-v1.3.1 package, keep the legacy com.rezolveai.dexiq-agent profile until the package is upgraded. The current package also accepts that legacy domain.

What you should see: The applicable device-level profile contains a token, any second domain agrees, and Rapport’s Install tokens page shows the token is active with remaining installs.

Read the log for the stage that failed

Inspect the latest relevant entries and match their times with the Intune result. Start with the enrollment log when the package is installed but no device appears. These commands do not change the device.

Fields and controls for Read the log for the stage that failed
Field or controlWhat to do
Intune delivery or detection/Library/Logs/Microsoft/Intune — inspect the IntuneMDMDaemon logs for the Rapport app name or Intune app/policy ID. No matching assignment suggests a delivery or targeting issue.
macOS package installation/var/log/install.log — inspect entries at the PKG attempt time for signature, script, permission, or installation failures.
Rapport enrollment/var/log/dexiq-enroll.log — shows missing/invalid profile configuration, conflicts, local failures, network failures, and enrollment responses. A missing file may mean the helper has not run or this Mac used a different installation method.
Rapport after enrollment/var/log/dexiq-agent.log — inspect startup and connection failures when an enrolled device stops reporting.
sudo tail -n 100 /var/log/dexiq-enroll.log

Retry enrollment once after correcting the cause

This step runs enrollment and starts Rapport if enrollment succeeds. First verify that the intended token profile reached the Mac, conflicting profiles are resolved, and the token is active with remaining installs. Then run the current package’s helper.

sudo /usr/local/dexiq-agent/rapport-enroll --managed

What you should see: A successful new enrollment prints “Rapport Agent enrolled and started.” Otherwise inspect the newly written enrollment-log entries before retrying again.

Verify the watcher, running service, and cloud connection

Inspect the launchd jobs, then confirm the device appears in the intended Rapport organization with a fresh Last seen value. A running process by itself is not proof that enrollment and reporting completed.

sudo launchctl print system/com.rezolveai.dexiq-agent.enroll
sudo launchctl print system/com.rezolveai.dexiq-agent

What you should see: The Mac is visible in Rapport, its agent version is reported, and Last seen advances after a new check-in.

Run a deliberate one-Mac uninstall and Intune reinstall test

Use this only when you intend to remove that Mac’s local installation and enroll it again. Keep the Mac online and record its name and existing Rapport record first. A normal uninstall revokes its credential before removing the local agent, private data, launchd jobs, and package receipt.

sudo /usr/local/dexiq-agent/uninstall.sh
  • Wait for the uninstall confirmation. If revocation fails, the uninstaller stops without removing the installation; resolve connectivity and retry. Do not force an offline uninstall just to speed up this test.
  • If the script is missing after a command-based installation, use the matching Uninstall command in Rapport’s Install agent page. Do not substitute manual rm commands.
  • For this reinstall test, keep the intended PKG and current enrollment profile assigned to the test Mac. Use Company Portal → Devices → select this Mac → Check status, then check delivery, installation, and enrollment again. Reinstallation timing depends on Intune processing.
  • For permanent removal instead, withdraw both the PKG install assignment and enrollment-profile assignment first. An MDM assignment can otherwise reinstall the agent.
  • The uninstaller does not erase cloud device history, remove MDM-managed profiles, or purge retained log files. Do not use Erase stored device data as an uninstall step.

What you should see: The reinstalled Mac has a successful Intune package result, the intended profile, and a fresh Rapport heartbeat. Stop the test and inspect the failing stage if any of those is missing.

Send support the evidence for one attempt

If the Mac is still missing, send a small evidence set from the same attempt so support can compare the client result with the enrollment service.

  • Computer name, macOS version, Intel or Apple silicon, intended Rapport organization, and whether the previous install used a PKG or terminal command.
  • Attempt time and time zone; Intune app and profile status, error codes, and their last-updated times.
  • Uploaded package version, local package-receipt result, binary-present result, and token status/remaining allowance from Rapport. Never include the full token.
  • The hidden-token profile-check output, watcher/service result, and relevant enrollment or installer log lines with secrets removed.

If something doesn’t work

The log says configuration profile present without an EnrollmentToken.

The helper could not read a nonempty EnrollmentToken from either supported device-level profile. Check delivery and the exact key using step 3. This can occur with no profile at all; the message does not prove one was delivered.

The log says conflicting enrollment profiles.

The current and legacy profile domains contain different nonempty tokens. Correct or withdraw the obsolete profile through Intune, verify the Mac received the change, then retry step 5.

Enrollment returns HTTP 401 or an inactive-token error.

Check whether the delivered token is invalid, expired, revoked, or exhausted in Rapport. Create a replacement if required, update the applicable Intune profile, verify delivery, and retry. Changing a token in Rapport alone does not update a Mac’s profile.

Enrollment reports a network or certificate error.

Verify the Mac is online and review the exact destination and error. Check the published deployment requirements and your proxy/allowlist configuration. Preserve certificate validation; do not use an insecure TLS bypass.

The log says enrollment already in progress.

Another process holds the local enrollment lock. Let the current attempt finish and inspect its result before one later retry. Do not remove lock or credential files.

The helper says the agent is installed, but I cannot find a new record.

An already-enrolled installation may keep its existing identity rather than create another device. Search the expected hostname in the original organization and verify Last seen. Use Recover agent connection for an authorized credential-recovery task instead of repeatedly consuming install tokens.

Still need help? Contact Rapport support with the page, action, time, and error message. Do not include passwords or secret tokens.

All documentation