Deploy BeProof on macOS via Intune device configuration and line-of-business apps.
Prerequisites: Intune licensed for macOS, macOS 14+ Apple Silicon, .pkg or .dmg LOB package.
1. Package the app
Build a signed PKG (recommended for silent install):
./scripts/build_mdm_pkg.sh \
--app dist/app/BeProofApp.app \
--version 1.0.5 \
--output BeProofApp-macos.pkg \
--signing-identity "Developer ID Installer: Your Org (TEAMID)"2. Add line-of-business app
- Microsoft Intune admin center → Apps → All apps → Create
- Select macOS app (PKG) or macOS app (DMG)
- Upload
BeProofApp-macos.pkg - Set bundle ID:
com.beproof.app - Assign to a Pilot device group
Install behavior: Required for pilot, Available for broader rollout after validation.
3. PPPC configuration profile
- Devices → macOS → Configuration → Create profile
- Platform: macOS, Profile type: Templates → Custom (or Privacy Preferences where available)
- Upload signed com.beproof.app.pppc.mobileconfig
- Assign to the same pilot group before or with the app install
See PPPC.md for template customization.
4. Org-policy overlay via shell script
Intune Shell scripts (macOS):
- Devices → macOS → Scripts → Add
- Run script as Administrator
- Example:
#!/bin/bash
set -euo pipefail
ORG_DIR="/Library/Application Support/BeProof"
mkdir -p "$ORG_DIR"
cat > "$ORG_DIR/org-policy-overlay.json" <<'EOF'
{
"version": "1.0",
"orgPolicyId": "YOUR-ORG-ID",
"approvedScanRoots": ["~/Projects"],
"requiredSources": ["declared", "granted"],
"requiredCloudConnectors": [],
"runtimeTelemetryRequired": false,
"approvedGrantScopes": {}
}
EOF
chmod 644 "$ORG_DIR/org-policy-overlay.json"Assign script to pilot group. Prefer hosting JSON in your repo and curling with integrity check for production.
Target path:
/Library/Application Support/BeProof/org-policy-overlay.json5. Verification
beproof verify-install --app /Applications/BeProofApp.app --format json
beproof evaluate-policy --format json | jq '{auditMode, scanScopeSource, orgPolicyId}'Use Intune Device health / script return codes: 0 = overlay script success.
6. CLI distribution (optional)
Deploy CLI separately via script:
brew tap oxy9en/beproof https://github.com/oxy9en/AgAudit-releases
brew install beproofNote: CLI inherits Terminal TCC — document in runbook if operators use CLI for keychain-inclusive scans.
See also: deploy README