A configuration profile is an Apple settings file, usually distributed with the .mobileconfig extension, that applies managed settings, certificates and restrictions to a Mac, iPhone or iPad in a single, verifiable package. In macOS administration, it is the standard way to configure Wi-Fi, VPN, security policies and privacy permissions without touching each computer by hand.
Profiles are delivered manually, through Apple Configurator, or most often by a mobile device management (MDM) server. Because one profile can lock settings that a user cannot change, configuration profiles sit at the core of how organizations keep fleets of Macs consistent, compliant and supportable.
How an Apple configuration profile is structured
A configuration profile is an XML property list with a fixed top-level structure and a list of payloads, each of which configures one area of the system. The outer dictionary identifies the profile itself, while every payload carries its own type, identifier and settings.
Each payload is recognized by its PayloadType, a reverse-domain string such as com.apple.wifi.managed or com.apple.security.pkcs12. The operating system matches profiles by PayloadIdentifier, so installing a new profile with the same identifier replaces the old version instead of creating a duplicate.
The table below lists the keys that appear in almost every profile and what each one controls.
| Key | Purpose | Example value |
|---|---|---|
| PayloadType | Declares what the payload configures | Configuration at the top level |
| PayloadIdentifier | Unique reverse-domain name used for updates | com.example.wifi.office |
| PayloadUUID | Random unique identifier of this payload | A generated UUID string |
| PayloadVersion | Format version of the payload | 1 |
| PayloadScope | Applies settings to the device or to one user | System or User |
| PayloadRemovalDisallowed | Prevents the user from deleting the profile | true for managed fleets |
Profiles may be signed with a certificate so that macOS shows the issuer as verified, and sensitive payloads can be encrypted to a specific device. An unsigned profile still installs, but it is displayed as unverified, which weakens user trust and hides tampering.
Common payload types in macOS
Payloads cover network access, security, privacy and application behavior, and one profile may combine several of them. Administrators usually split payloads into several smaller profiles so that one change does not force a full reinstall of unrelated settings.
| Payload | What it configures | Delivery constraint |
|---|---|---|
| Wi-Fi | Network name, security type and credentials | Any installation method |
| Certificate and SCEP | Root trust, client identities and automatic enrollment | Any installation method |
| Passcode | Password length, complexity and expiry | Any installation method |
| FileVault | Disk encryption and recovery key escrow | MDM recommended for key escrow |
| Privacy Preferences Policy Control | Pre-approves access to files, camera or accessibility | Only through user-approved MDM |
| System extension policy | Allows approved security or network extensions | Only through user-approved MDM |
| Managed login items | Prevents users from disabling background services | macOS Ventura or later via MDM |
| Custom settings | Writes preference keys for any app domain | Any installation method |
The custom settings payload deserves special mention: it lets administrators manage any application that reads its preferences through the standard defaults system. The enforced values appear under /Library/Managed Preferences, and they override user choices for the same keys.
Installation methods and user approval
How a profile arrives determines which payloads it may contain and whether the user can remove it. Since macOS Big Sur, a profile cannot be installed silently from the command line: a manually opened file must be approved by the user in System Settings, which closes a path that malware had abused.
| Method | User interaction | Typical use |
|---|---|---|
| Manual installation | Open the file, then approve it under Device Management in System Settings | Small offices and testing |
| Apple Configurator | Device connected by cable to an admin Mac | Lab setups and preparing supervised devices |
| MDM, user-initiated enrollment | User installs the enrollment profile and approves MDM | Personal or loosely managed Macs |
| MDM, Automated Device Enrollment | None after the Setup Assistant | Company-owned fleets through Apple Business Manager |
Automated Device Enrollment produces the strongest management state, because the Mac is enrolled during setup, the MDM enrollment can be made non-removable, and the device can be supervised. Only in this user-approved MDM state does macOS accept the most sensitive payloads, such as privacy pre-approvals and kernel or system extension policies.
Administrators inspect profiles with the profiles command-line tool, for example profiles list or sudo profiles show -type configuration. These commands are useful for troubleshooting, but installation is reserved for MDM and the user interface.
Configuration profiles and Declarative Device Management
Apple introduced Declarative Device Management (DDM) as the successor model to command-driven MDM, and it changes how profiles are delivered rather than removing them. With DDM, the device receives declarations and reports its status on its own, instead of waiting for the server to poll and push each change.
Existing profiles can be sent as legacy profile declarations, so organizations keep their payloads while gaining faster, more reliable status reporting. Over time, Apple adds native declarations for areas such as software updates and passcodes, and these gradually replace the corresponding profile payloads.
| Aspect | Classic profile via MDM | Declarative configuration |
|---|---|---|
| Delivery | Server sends an install command | Device applies declarations autonomously |
| Status reporting | Server must query the device | Device reports changes proactively |
| Conditional logic | Handled on the server | Activations can depend on device state |
| Compatibility | All supported macOS versions | Newer macOS releases only |
Common mistakes and security considerations
Most profile problems come from conflicting or duplicated payloads. When two profiles set the same preference with different values, macOS behavior is undefined or order-dependent, so each setting should be owned by exactly one profile.
- Reusing a PayloadIdentifier for unrelated content silently replaces the earlier profile.
- Embedding passwords in unencrypted profiles exposes them to anyone who obtains the file.
- Scoping payloads incorrectly to user level leaves settings missing at the login window.
- Installing profiles from untrusted sources is a known phishing technique, because a malicious profile can add a root certificate or a VPN that intercepts traffic.
The last point is the main security warning: a configuration profile is powerful by design. Users should install profiles only from their own organization, and administrators should sign every profile and review installed profiles regularly as part of fleet hygiene.
The idea in brief
A configuration profile is like a sealed instruction sheet for an Apple device. Instead of someone walking to every Mac and changing the Wi-Fi, security and privacy settings by hand, the company writes those settings once into a small file and sends it out.
When the Mac accepts the file, it applies the settings automatically and, if the company wishes, prevents anyone from changing them. The key idea is that one file can set up many computers the same way, quickly and reliably.
A practical scenario
A design agency with 60 employees buys new MacBook Air laptops through Apple Business Manager. Each laptop is assigned to the agency’s MDM server, so when an employee turns it on, Automated Device Enrollment starts during the Setup Assistant.
Within minutes, the MDM server delivers four profiles: one with the office Wi-Fi and a client certificate obtained through SCEP, one that enables FileVault and escrows the recovery key, one that pre-approves screen recording for the video conferencing app, and one with custom settings for the web browser homepage and update policy.
The IT administrator later changes the Wi-Fi password by updating a single profile with the same identifier. Every laptop receives the new version automatically, and the agency avoids 60 manual visits and the help desk calls that usually follow a network change.