Azure Intune: macOS

WAI Docs Wed Aug 19 13:22:37 EDT 2026
List
Quick Start
Welcome
Supported Applications & LLMs
Release Notes
August 18, 2026 WitnessAI Release
August 4, 2026 WitnessAI Release
July 21, 2026 WitnessAI Release
July 14, 2026 WitnessAI Release
July 9, 2026 WitnessAI Release
June 30, 2026 WitnessAI Hotfix
June 23, 2026 WitnessAI Release
June 16, 2026 WitnessAI Release
June 11, 2026 WitnessAI Release
June 4, 2026 WitnessAI Hotfix
June 2, 2026 WitnessAI Update
May 19, 2026 WitnessAI Update
April 30, 2026 WitnessAI Update
April 28, 2026 WitnessAI Update
April 23, 2026 WitnessAI Update
April 16, 2026 WitnessAI Update
April 14, 2026 WitnessAI Update
April 9, 2026 WitnessAI Update
April 9, 2026 WitnessAI Update
April 7, 2026 WitnessAI Update
April 2, 2026 WitnessAI Update
March 31, 2026 WitnessAI Update
March 24, 2026 WitnessAI Update
March 19, 2026 WitnessAI Update
March 17, 2026 WitnessAI Update
March 12, 2026 WitnessAI Update
March 5, 2026 WitnessAI Update
February 26, 2026 WitnessAI Update
February 24, 2026 WitnessAI Update
February 10, 2026 WitnessAI Update
January 27, 2026 WitnessAI Update
January 20, 2026 WitnessAI Update
January 13, 2026 WitnessAI Update
December 18, 2025 WitnessAI Update
December 9, 2025 WitnessAI Update
November 25, 2025 WitnessAI Update
November 18, 2025 WitnessAI Update
November 11, 2025 WitnessAI Update
October 28, 2025 WitnessAI Update
October 23, 2025 WitnessAI Update
October 9, 2025 WitnessAI Update
October 2, 2025 WitnessAI Update
September 30, 2025: WitnessAI Update
September 23, 2025: WitnessAI Update
August 12, 2025: WitnessAI Update
July 31, 2025: WitnessAI Update
July 18, 2025: WitnessAI Update
April 11, 2025: WitnessAI Release v2.0
June 9, 2025: WitnessAI Update
June 23, 2025: WitnessAI Update
TOC Left Sidebar: not active
TOC Left Sidebar: ORIGINAL
User Guide
Policies - GuardRails
Witness Anywhere: Remote Device Security
Witness Attack
Administrator Guide
404

Witness Anywhere – Intune Admin Guide (macOS Physical devices)

Mac OS PAC Enrollment Flow

The deployment follows these stages:
  1. Registration Script runs → device registers with WitnessAI and receives the PAC URL
  2. Plist file created → PAC URL, static FQDN, and device fingerprint stored locally
  3. PAC URL applied → proxy configured on all active network interfaces
  4. Stunnel installed → TLS tunnel established for secure proxy communication
  5. Audit script runs every 15 minutes → ensures PAC URL remains active and correct.

Configuration Guide

1. Generate PAC Token & Download Files

  1. As a User with Admin Role or above, log into the WitnessAI Console.
  2. Click on the Settings menu item, then click on Proxy Configuration in the sub-menu.
  3. Enter a name in the Key Name field.
  4. Choose an Expiration Date.
  5. Click the Generate PAC Token button.
  6. Locate the row in the list with the Key Name and Expiration Date of the PAC Token you created, and click the Download Symbol.
  7. Click on Intune (Mac) from the dropdown, and a zip file will be downloaded to your Downloads folder.

2. Download Files from WitnessAI Console

Admin Action: Log into the WitnessAI Console and download the deployment bundle by selecting "Intune" as the Vendor and "macOS" as the platform from the PAC Tokens window.
Bundle Contents:
File
Description
register_device.sh
Shell script to register the device with Witness Anywhere
pac_audit.sh
Shell script to monitor and enforce proxy compliance
flush.sh
Shell script to uninstall Witness Anywhere from a device
witnessai_status.sh
Custom attribute script for admin visibility in Intune
WitnessAI.crt
WitnessAI Root CA certificate for TLS inspection

3. Push the WitnessAI Root Certificate

The WitnessAI root certificate must be installed on devices before the proxy can inspect AI traffic.
  1. In the Microsoft Intune admin center, navigate to Devices → By platform → macOS → Manage devices → Configuration
  2. Click Create → New Policy
  3. Set Profile type to Templates and select Trusted certificate, then click Create
notion image
  1. Enter a name: WitnessAI Root Certificate
  2. Click Next to go to Configuration Settings
  3. Set Deployment Channel to Device Channel
  • Upload the WitnessAI.crt file
  1. Click Next
  2. Assign to the relevant device/user groups
  3. Click Next → Review + create → Create
notion image
 
 
 

4. Upload the Registration Script

The registration script registers the device with WitnessAI and configures the proxy settings.
  1. Navigate to Devices → By platform → macOS → Manage devices → Scripts
  2. Click Add
  3. Enter a name: WitnessAI Registration, then click Next
  4. In Script settings:
    • Upload script: upload register_device.sh
    • Run script as signed-in user: No
    • Hide script notifications on devices: Yes
    • Script frequency: Not configured (runs once per device)
notion image
 
  1. Click Next, assign to the relevant device/user groups
  2. Click Next → Review + add → Add

5. Upload the PAC Audit Script

The audit script runs every 15 minutes to verify and automatically remediate proxy settings on all active network interfaces.
  1. Follow steps 1–3 from Section 3 above, using the name WitnessAI PAC Audit
  2. In Script settings:
    • Upload script: upload pac_audit.sh
    • Run script as signed-in user: No
    • Hide script notifications on devices: Yes
    • Script frequency: Every 15 minutes
notion image
  1. Assign to the relevant device/user groups and save

6. Configure the WitnessAI Status Custom Attribute

The status custom attribute gives administrators a real-time diagnostic view of each device's WitnessAI deployment state directly in the Intune console, refreshed every 8 hours.
  1. Navigate to Devices → By platform → macOS → Organize devices → Custom attributes for macOS
  2. Click Add
  3. Enter a name: WitnessAI Status and click Next
  4. In the Attribute settings page, set Data type to String
  5. Upload witnessai_status.sh
notion image
  1. Click Next, assign to the relevant device/user groups, then Add
The Result column for each device will display a status string in the following format:
Plist: Found | PAC URL: Found | Proxy: Compliant | Stunnel: Running
Use this to diagnose device state at a glance:
Result
Meaning
Action
Plist: Not Found
Device not registered
Re-run the registration script
PAC URL: Not Found
Registration failed mid-way
Check /tmp/pac_registration.log on the device
Proxy: Unknown (No PAC URL)
Plist missing or PAC URL empty
Re-run the registration script
Proxy: Non-Compliant
Proxy knocked off an interface
Audit script will self-heal within 15 minutes
Stunnel: Not Running
TLS tunnel is down
Contact WitnessAI support

7. Upload the Flush Script

The flush script is used to uninstall Witness Anywhere from a device when required.
  1. Follow steps 1–3 from Section 3 above, using the name WitnessAI Flush
  2. In Script settings:
    • Upload script: upload flush.sh
    • Run script as signed-in user: No
    • Hide script notifications on devices: Yes
    • Script frequency: Not configured
  3. Assign only to the devices you want to offboard and save
notion image