MacOS 27 Virtualisation & Intune Enrolment via Tart
I'm testing macOS enrolment on to Microsoft Intune, and found that not all virtualisation applications in are worth your time. I ran into a few road blocks, some bigger than others.
My Hardware / Software
- Apple macOS Host: Mac Mini M6 (macOS 27.2.1)
- Virtual macOS Version Tested: macOS 27.2.1
Virtualisation Platforms Tested
- Parallels Desktop Pro
- UTM (5.0.7)
- TART
Not tested:
- Virtual Box
- VMware Fusion
What Worked Well?
After testing 3 virtualisation software systems available for macOS, I ended up using Tart, but it was definitely not all smooth sailing. After a few days of troubleshooting the different images available for Tart, I found that the current version of Intune Company Portal with macOS ARM Virtual Machines seem to get blocked by System Integrity Protection, after disabling it, I can proceed with enrolments and then re-enable it since most organisations would be enforcing SIP via a Device Compliance Policy.
Deploying a macOS ARM-based VM on a macOS ARM Host
Following the following instructions to get a ARM based macOS VM on your existing ARM mac.
Pre-requisite: Install Brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Open your terminal.app and install TART:
brew install openai/tools/tart- You may need to add
tartto zsh or bash, or open a new terminal session after install
- You may need to add
- Run the following to create a tart VM with 60GB disk and macOS build/version that matches your host.
tart create --from-ipsw=latest --disk-size 60 vm-test
tart set vm-test --memory 8192 --cpu 4
tart run vm-test- Once the VM boots skip Apple ID Login etc.
- Within the VM, check SIP is enabled or disabled
csrutil status - If it is disabled, turn off the VM then from your Terminal, run this command:
tart run --recovery vm-test- Follow Apple's instructions to Disable System Integrity Protection from Boot, e.g.
csrutil disableand enterythenreboot
- Follow Apple's instructions to Disable System Integrity Protection from Boot, e.g.
- After you reboot, you can install Intune Company Portal or with:
curl -L -o /tmp/CompanyPortal.pkg "https://go.microsoft.com/fwlink/?linkid=853070"
sudo installer -pkg /tmp/CompanyPortal.pkg -target /
- You can now shutdown the VM then run
tart clone vm-test vm-test-cleanto clone it. - Power on the VM again with
tart run vm-testand continue testing. - Open Intune Company Portal, then re-attempt enrolment. You should be able to get past the MDM Profile installation.

- After you enroll successfully, if you have SIP CA Policy enforcement enabled, you will need to Reboot and re-enable SIP via
csrutil enable - Voila, you're now enrolled, compliant and ready to continue testing.
Additional Things: Enabling SSH, Clipboard Sharing
I also like to install the following into my clean image, which is to enable SSH on the host so I can locally SSH into the host + Host to VM 'Clipboard Sharing' with the Cirrus Guest Agent.
- On your VM, Turn on System Settings → General → Sharing → Remote Login , then from the host Mac, SSH to your VM host.
- Run the following from terminal to install
brew&tart-guest-agenton the VM
sudo -v && /bin/bash -c '
set -e
command -v brew >/dev/null || [ -x /opt/homebrew/bin/brew ] || NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
grep -q "brew shellenv" ~/.zprofile 2>/dev/null || echo "eval \"\$(/opt/homebrew/bin/brew shellenv)\"" >> ~/.zprofile
brew install cirruslabs/cli/tart-guest-agent 2>/dev/null || brew install openai/tools/tart-guest-agent
BIN="$(brew --prefix)/bin/tart-guest-agent"
PL=/Library/LaunchAgents/org.cirruslabs.tart-guest-agent.plist
sudo tee "$PL" >/dev/null <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict>
<key>Label</key><string>org.cirruslabs.tart-guest-agent</string>
<key>ProgramArguments</key><array><string>$BIN</string><string>--run-agent</string></array>
<key>LimitLoadToSessionType</key><string>Aqua</string>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
</dict></plist>
EOF
sudo chown root:wheel "$PL" && sudo chmod 644 "$PL"
sudo launchctl bootout gui/$(id -u)/org.cirruslabs.tart-guest-agent 2>/dev/null || true
sudo launchctl bootstrap gui/$(id -u) "$PL"
pgrep -fl tart-guest-agent && echo "✅ tart-guest-agent running"
'- Run the standard post install brew
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"- Check the Agent is installed & Copy & Paste:

Other Notes:
Tart stores files, IPSW (OS images), etc here:
- IPSWs are cached here:
~/.tart/cache/IPSWs/ - VMs are
~/.tart/vms/<vm-name>/
What didn't work well?
- Parallels Desktop Pro: Intune Company Portal fails to progress after the MDM profile is installed despite it being installed. Intune can see the installation but the Company Portal fails device-side. The issue is also SIP related but Tart is free and getting into recovery on Parallels is slow.
- UTM (5.0.7): Safari WebKit GPU/Metal fails to render anything and the inbuilt Intune Company Portal relies on, not SIP related.
- TART : Base image from TART fails Intune Compliance Policies because System Integrity Protection is disabled, this article calls out the fix.
Member discussion