Configuration profile · Apple

Also known as: .mobileconfig

On this page 7

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.

KeyPurposeExample value
PayloadTypeDeclares what the payload configuresConfiguration at the top level
PayloadIdentifierUnique reverse-domain name used for updatescom.example.wifi.office
PayloadUUIDRandom unique identifier of this payloadA generated UUID string
PayloadVersionFormat version of the payload1
PayloadScopeApplies settings to the device or to one userSystem or User
PayloadRemovalDisallowedPrevents the user from deleting the profiletrue for managed fleets
Core keys of a configuration profile

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.

PayloadWhat it configuresDelivery constraint
Wi-FiNetwork name, security type and credentialsAny installation method
Certificate and SCEPRoot trust, client identities and automatic enrollmentAny installation method
PasscodePassword length, complexity and expiryAny installation method
FileVaultDisk encryption and recovery key escrowMDM recommended for key escrow
Privacy Preferences Policy ControlPre-approves access to files, camera or accessibilityOnly through user-approved MDM
System extension policyAllows approved security or network extensionsOnly through user-approved MDM
Managed login itemsPrevents users from disabling background servicesmacOS Ventura or later via MDM
Custom settingsWrites preference keys for any app domainAny installation method
Frequently used payloads and their effect

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.

MethodUser interactionTypical use
Manual installationOpen the file, then approve it under Device Management in System SettingsSmall offices and testing
Apple ConfiguratorDevice connected by cable to an admin MacLab setups and preparing supervised devices
MDM, user-initiated enrollmentUser installs the enrollment profile and approves MDMPersonal or loosely managed Macs
MDM, Automated Device EnrollmentNone after the Setup AssistantCompany-owned fleets through Apple Business Manager
Installation methods compared

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.

AspectClassic profile via MDMDeclarative configuration
DeliveryServer sends an install commandDevice applies declarations autonomously
Status reportingServer must query the deviceDevice reports changes proactively
Conditional logicHandled on the serverActivations can depend on device state
CompatibilityAll supported macOS versionsNewer macOS releases only
Classic profiles versus declarative configurations

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.