Audit Jamf Pro configuration profiles for macOS 27 deprecations

A read-only script that checks every macOS configuration profile in Jamf Pro for settings affected by macOS 27, such as legacy software update payloads, and writes a CSV report.

macOS 27 moves more settings from configuration profiles to declarative device management (DDM). Apple’s enterprise notes for macOS 27 say that legacy software update management no longer functions in the 27.0 operating systems, including software update commands, queries and restrictions such as deferrals. If a profile in your Jamf Pro still carries those settings, you want to know before your Macs upgrade.

jamf-macos-profile-deprecation-audit.sh, part of Mac Admins Toolkit, finds them. It downloads every macOS configuration profile from Jamf Pro, examines the property lists inside, prints a summary and writes the details to a CSV.

It is read-only. It does not modify profiles, scope, devices or Jamf Pro settings.

What it looks for

Category Status the script reports Suggested replacement
PPPC Accessibility grant Grant removed DDM com.apple.configuration.app.settings with the Privacy key
PPPC Accessibility non-grant rule Deprecated DDM com.apple.configuration.app.settings with the Privacy key
com.apple.SoftwareUpdate payload Removed DDM com.apple.configuration.softwareupdate.settings
Legacy software-update deferral restrictions Removed DDM com.apple.configuration.softwareupdate.settings
com.apple.dnsSettings.managed Deprecated DDM com.apple.configuration.network.dns-settings
com.apple.AssetCache.managed Deprecated DDM com.apple.configuration.content-cache.settings
com.apple.applicationaccess.new Deprecated DDM com.apple.configuration.app.settings

The deferral check covers the generic, major OS, minor OS and non-OS (app) deferral keys.

These match Apple’s Device Management documentation, where each payload and key carries its own status. The SoftwareUpdate payload and the deferral keys in Restrictions are marked removed in macOS 27. DNSSettings, the Content Caching payload and the app allow and deny list payload are marked deprecated in macOS 27, as is the Accessibility service in a Privacy Preferences Policy Control payload.

For Accessibility, Apple’s macOS 27 enterprise notes add that the user is shown a notification for each configured app, and can turn off accessibility permissions granted by device management in System Settings.

Requirements

  • Tools included with macOS: /bin/bash, curl, xmllint, awk and sed
  • Jamf Pro 10.49 or later, which is the version where Jamf added client-credentials authentication for API Clients
  • An API Role with only Read – Computer Configuration Profiles, assigned to an enabled API Client

The script gets an OAuth access token and uses it with the Classic API configuration profile endpoints. The token is invalidated when the script exits.

Running it

Run it from a terminal on an admin Mac. It is not a Jamf policy script.

chmod 700 ./jamf-macos-profile-deprecation-audit.sh

export JAMF_ENV="dev"
export OUTPUT_DIR="$(pwd)"

./jamf-macos-profile-deprecation-audit.sh

Anything not set (URL, client ID, client secret) is prompted for, and the client ID and secret are typed with no echo. Do not put a real secret on the command line, where shell history can keep it. Environment selection, the typed PROD confirmation and the optional plist are shared with the other Jamf Pro API tools and described in the toolkit overview.

The output

The summary looks like this:

============================================================
Jamf macOS 27 Configuration Profile Audit Summary
============================================================
Profiles scanned:      42
Profiles affected:     8
Total findings:        12

Findings by category:
  Content Caching payload                      1
  PPPC Accessibility                           5
  Software Update deferral restriction         6

The CSV, jamf-deprecated-mdm-audit.csv, has one row per finding:

Column Description
category The deprecated or removed setting that was found
status The macOS 27 status from the rule set
replacement The suggested declarative replacement
profile_id Jamf Pro configuration profile ID
profile_url Direct link to the profile in Jamf Pro
profile_name Jamf Pro profile name
profile_uuid Profile UUID, when returned
payload_uuid Matching PPPC payload UUID, when applicable

The CSV is created with mode 600. It is built in a temporary file and moved into place only after a successful audit, so a failed run does not overwrite an earlier complete report. An audit with no findings still exits 0 and writes a header-only CSV.

Limitations

  • It audits macOS configuration profiles only. It does not look at policies, scripts, restricted software, PreStage settings, software update plans or existing DDM declarations.
  • A finding shows that a matching payload or key exists. Migrating it still needs your review and testing.
  • The profile_url links depend on Jamf Pro keeping its current profile page path.

Get it

The script and README are in JAMF-macOS-Profile-Deprecation-Audit. Try it against a non-production tenant with a few representative profiles first.