Origami

Docs › Organisations

macOS profile

The configuration profile that sets the managed policy on macOS, through your device management or by hand.

1 min read

How it works

  1. The policy is a com.apple.ManagedClient.preferences payload for the domain app.tryorigami.macos, the same for Origami from Setapp. In a device management service that takes custom settings, give it that domain and the keys.
  2. Or deploy this profile, with each PayloadUUID replaced by one from uuidgen:
<?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>PayloadType</key>
  <string>Configuration</string>
  <key>PayloadVersion</key>
  <integer>1</integer>
  <key>PayloadIdentifier</key>
  <string>com.example.origami-policy</string>
  <key>PayloadUUID</key>
  <string>7380D357-4D90-4577-B5E6-13F63343E5E8</string>
  <key>PayloadDisplayName</key>
  <string>Origami policy</string>
  <key>PayloadScope</key>
  <string>System</string>
  <key>PayloadContent</key>
  <array>
    <dict>
      <key>PayloadType</key>
      <string>com.apple.ManagedClient.preferences</string>
      <key>PayloadVersion</key>
      <integer>1</integer>
      <key>PayloadIdentifier</key>
      <string>com.example.origami-policy.preferences</string>
      <key>PayloadUUID</key>
      <string>0C5297FB-E196-4BE0-8735-95B921BC9312</string>
      <key>PayloadContent</key>
      <dict>
        <key>app.tryorigami.macos</key>
        <dict>
          <key>Forced</key>
          <array>
            <dict>
              <key>mcx_preference_settings</key>
              <dict>
                <key>GoEnabled</key>
                <false/>
                <key>UpdatesEnabled</key>
                <false/>
              </dict>
            </dict>
          </array>
        </dict>
      </dict>
    </dict>
  </array>
</dict>
</plist>
  1. To check it took effect, run sudo profiles show -type configuration and look for Origami policy, then open Settings › Origami+ in Origami: the Origami Go switch is locked.

Good to know

  • Only forced values count. What someone writes with defaults isn't policy.
  • A key that isn't a boolean, such as 0 or "false", counts as off.

Related