Skip to main content

Apple Service Management Managed Login Items Policy

Overview

The Apple Service Management Managed Login Items Policy allows administrators to preapprove background items used by managed applications on Mac devices.

The policy can automatically approve matched:

  • Login items

  • Launch agents

  • Launch daemons

  • Privileged helper tools

  • Other background services registered through Apple’s Service Management framework

This helps required business, security, VPN, backup, monitoring, and developer applications run their background components without requiring users to approve each matched item manually.

Important: This is an approval policy. It automatically enables and allows items that match a configured rule. It does not block unmatched login items or background services.

Supported Platforms

Requirement

Support

Operating system

macOS 13.0 or later

Device ownership

Company-owned and BYOD

Policy scope

Managed login items and background services

On macOS 13 and later, Apple provides the Service Management framework to give users and administrators greater visibility into login items, launch agents, launch daemons, and other background tasks.

What This Policy Does

The policy contains one or more matching rules. When macOS discovers a login item or background item, it compares the item against all configured rules.

If the item matches any rule, macOS automatically approves it.

If the item does not match a rule, this policy does not approve or block it. The item remains subject to normal macOS behavior and any other applicable policy.

This policy does not:

  • Install the application or background service.

  • Block unapproved background items.

  • Grant Privacy Preferences Policy Control permissions, such as Full Disk Access.

  • Approve system extensions, network extensions, or kernel extensions.

  • Replace application deployment or security-extension policies.

  • Guarantee that the application itself is healthy or correctly configured.

Deploy any required application, PPPC profile, system extension profile, or network extension profile separately.

Before You Begin

Before creating the policy:

  1. Enroll the Mac in Swif and confirm that it is online.

  2. Confirm that the device runs macOS 13.0 or later.

  3. Install the application on a test Mac.

  4. Identify the application’s bundle identifier, signing team identifier, service labels, or label prefixes.

  5. Verify identifiers directly from the installed, code-signed application and its service files.

  6. Decide whether an exact rule or a broader rule is appropriate.

  7. Test the application and policy on a small device group before broad deployment.

Security warning: TeamIdentifier and LabelPrefix rules can approve multiple items. Use them only when you understand and accept the full scope of the match.

Create the Policy

  1. In the Swif dashboard, create a new policy.

  2. Select Apple Service Management Managed Login Items Policy.

  3. Enter a descriptive policy name.

  4. Under Rules, select Add.

  5. Choose a Rule Type.

  6. Enter the matching Rule Value.

  7. Add a Comment describing the application, service, and reason for approval.

  8. Add more rules when the application has multiple background components.

  9. Assign the policy to a test Mac or small test device group.

  10. Install or relaunch the application and verify that its required background items are approved.

  11. Expand the assignment only after testing succeeds.

At least one complete rule is required. Every rule must include both Rule Type and Rule Value.

Recommended Configuration

Setting

Recommended value

Rules

Include only background items required by approved applications

Rule Type

Prefer BundleIdentifier or Label exact matches

Rule Value

Use a value verified from the installed application or service file

Comment

Record the application, component, owner, and business reason

Recommended rule-selection order:

  1. Use Label when approving one specific launch agent or daemon.

  2. Use BundleIdentifier when approving the background items associated with one specific application.

  3. Use LabelPrefix only when the application has multiple verified services sharing a narrow, vendor-specific prefix.

  4. Use TeamIdentifier only when all applicable software signed by that development team should be trusted for this purpose.


Rule Settings

Rule Type

Determines which application or service attribute macOS uses for matching.

The available values are:

  • BundleIdentifier

  • TeamIdentifier

  • Label

  • LabelPrefix

Rule Value

The identifier or label that macOS compares against the selected Rule Type.

The value must match the selected type. An incorrect identifier, extra character, or unintended prefix may cause the rule not to match or to approve more items than expected.

Comment

An optional human-readable description of the rule.

Recommended comment format:

<Application> — <Component> — <Reason for approval> — <Owner or ticket>

Example:

Example Security Agent — background daemon — required for endpoint monitoring — SEC-1024

Comments do not affect matching or enforcement.


Rule Type Explanations

BundleIdentifier

Matches the application’s bundle identifier exactly.

Example:

com.docker.docker

Use this rule when you want to approve background items associated with one specific application bundle.

To retrieve an application’s bundle identifier:

defaults read "/Applications/<App>.app/Contents/Info.plist" CFBundleIdentifier

Example:

defaults read "/Applications/Docker.app/Contents/Info.plist" CFBundleIdentifier

The command should return a value similar to:

com.docker.docker

Verify the value on a trusted installation rather than copying an identifier from an unverified source.

Recommended use: Preferred when the application bundle is known and an app-specific rule is sufficient.

TeamIdentifier

Matches the Apple Developer Team Identifier in the item’s code-signing information exactly.

Example format:

9BNSXJN65R

To retrieve the signing team identifier:

codesign -dv --verbose=4 "/Applications/<App>.app" 2>&1 | grep TeamIdentifier

Example output:

TeamIdentifier=9BNSXJN65R

A TeamIdentifier rule can match multiple applications and services signed by the same development team.

Security warning: This is broader than an exact bundle or label rule. Before using it, verify the developer identity and determine whether every applicable item signed by that team should receive automatic approval.

Recommended use: Trusted vendors whose approved product family contains several required components that cannot be managed reliably with narrower rules.

Label

Matches the Label value of a launch agent or launch daemon exactly.

Example:

com.docker.vmnetd

Common system locations include:

/Library/LaunchAgents/ /Library/LaunchDaemons/

A user’s launch agents may also appear under:

~/Library/LaunchAgents/

To inspect a service property list:

plutil -p "/Library/LaunchDaemons/<service>.plist" | grep 'Label'

You can also inspect the raw value with:

defaults read "/Library/LaunchDaemons/<service>.plist" Label

Recommended use: Preferred when approving one specific launch agent or daemon.

LabelPrefix

Matches any launch agent or daemon label that begins with the specified prefix.

Example:

com.docker

This could match labels such as:

com.docker.vmnetd com.docker.socket

Security warning: Prefix rules can match more items than intended. Use the narrowest vendor- and product-specific prefix possible. Avoid generic prefixes such as com, com.vendor, or another value shared by unrelated applications.

Recommended use: An approved application with multiple verified services that consistently use one narrow label prefix.

How Multiple Rules Work

macOS compares discovered items against all rules in the policy. Apple documents that an item matching a rule is automatically approved in its background task management guidance.

The rules operate as approval matches:

  • If an item matches one rule, it is automatically approved.

  • An item does not need to match every rule.

  • Adding a broader rule expands the set of items that can be approved.

  • There is no deny rule in this policy to override a broad approval rule.

For example, a policy containing both of these rules approves any item matching either one:

Rule Type

Rule Value

BundleIdentifier

com.example.securityagent

Label

com.example.securityagent.daemon

Review the combined scope of all rules before deployment.


Example Configurations

Example 1: Approve One Application

Setting

Value

Rule Type

BundleIdentifier

Rule Value

com.example.securityagent

Comment

Example Security Agent — approve managed background items — SEC-1024

Use an exact application bundle identifier when it sufficiently covers the application’s registered background items.

Example 2: Approve Specific Launch Services

Rule Type

Rule Value

Comment

Label

com.example.securityagent.daemon

Main endpoint-monitoring daemon

Label

com.example.securityagent.updater

Approved update service

This is more restrictive than approving every service from the vendor by prefix or signing team.

Example 3: Approve a Verified Label Family

Setting

Value

Rule Type

LabelPrefix

Rule Value

com.example.securityagent.

Comment

Approved service family for Example Security Agent

Use this only after confirming all labels that can match the prefix.

Example 4: Approve a Trusted Development Team

Setting

Value

Rule Type

TeamIdentifier

Rule Value

ABCDE12345

Comment

Approved vendor signing team — reviewed 2026-07-19

Use this broad rule only when the organization intends to approve all applicable items signed by the identified development team.


Company-Owned and BYOD Considerations

Company-Owned Devices

For company-owned Macs:

  • Preapprove background items required for deployed business and security applications.

  • Prefer exact identifiers and labels.

  • Maintain an inventory of approved rules and their application owners.

  • Review broad TeamIdentifier and LabelPrefix rules regularly.

  • Remove obsolete rules when an application is retired or changes its service architecture.

BYOD Devices

For BYOD Macs:

  • Assign the policy only when the application and its background services are required for organizational work.

  • Tell users which application components will run automatically in the background.

  • Avoid broad signing-team or label-prefix rules unless they are necessary and clearly scoped.

  • Consider whether the rule could approve personal software from the same vendor or development team.

  • Remove the policy during offboarding when organizational background services are no longer required.

This policy changes system-level background-item approval. It does not create a separate macOS work profile.

User Experience and Notifications

Matched items are automatically enabled and allowed, but users may still see a macOS notification informing them that managed background items were installed. Users can view registered items under:

System Settings > General > Login Items & Extensions

The exact wording and placement can vary by macOS version.

On macOS 26 or later, Apple may prompt users when an app starts a background task that remains active after the app is closed. Apple states that applicable BundleIdentifier, BundleIdentifierPrefix, or TeamIdentifier rules can prevent this alert for matched managed items. Swif currently exposes BundleIdentifier and TeamIdentifier for this purpose. Learn more from Apple.

Verify the Policy

After assigning the policy:

  1. Confirm that the profile is installed on the Mac.

  2. Install or launch the associated application.

  3. Open:

    System Settings > General > Login Items & Extensions

  4. Confirm that the expected application or service appears under the appropriate login or background-item section.

  5. Run the following command to inspect background task management state:

sfltool dumpbtm

The output includes known login and background items and loaded Service Management payload identifiers.

  1. Confirm that the actual bundle identifier, signing team, or service label matches the configured rule.

  2. Test the application’s background functionality.

The output of sfltool dumpbtm may contain application and user information. Review and redact it before sharing it outside your organization.


Troubleshooting

The Policy Is Installed but the Background Item Is Not Approved

  1. Confirm that the Mac runs macOS 13.0 or later.

  2. Confirm that the application or service is installed.

  3. Verify that Rule Type matches the kind of Rule Value entered.

  4. Retrieve the identifier again from the installed application or service file.

  5. Check for capitalization, punctuation, or whitespace differences.

  6. Relaunch the application or restart the Mac after policy installation.

  7. Run:

sfltool dumpbtm
  1. Review the Swif policy command history and profile-installation status.

BundleIdentifier Rule Does Not Match

Verify the installed application’s identifier:

defaults read "/Applications/<App>.app/Contents/Info.plist" CFBundleIdentifier

Confirm that:

  • The path points to the actual installed application.

  • The returned value exactly matches Rule Value.

  • The rule uses BundleIdentifier, not Label.

  • The background component is associated with that application bundle.

TeamIdentifier Rule Does Not Match

Verify the code-signing information:

codesign -dv --verbose=4 "/Applications/<App>.app" 2>&1 | grep TeamIdentifier

If no TeamIdentifier is returned:

  • Confirm that the application is correctly code-signed.

  • Check the embedded helper tool or service binary rather than only the main application.

  • Confirm that you are inspecting the same application build installed on the managed Mac.

Do not disable code-signature validation to work around a mismatch.

Label or LabelPrefix Rule Does Not Match

  • Inspect the Label key in the applicable launch agent or launch daemon property list.

  • Confirm that a Label rule contains the complete exact value.

  • Confirm that a LabelPrefix rule matches the beginning of the label.

  • Check both system and user LaunchAgents locations when appropriate.

  • Verify that the service has registered with background task management.

A Rule Approves More Items Than Expected

This usually occurs when a TeamIdentifier or LabelPrefix rule is too broad.

  1. Inventory all items matched by the rule.

  2. Replace the broad rule with exact BundleIdentifier or Label rules where possible.

  3. Update the policy and verify the narrower configuration on a test Mac.

  4. Review whether the broadly approved items require removal or separate remediation.

Removing or narrowing the rule stops future matching by that rule, but it does not uninstall the application or its helper components.

The Application Still Requests Other Permissions

This policy approves Service Management login and background items only. The application may separately require:

  • Full Disk Access or other Privacy Preferences Policy Control permissions

  • System extension approval

  • Network extension or content filter approval

  • Notifications

  • Accessibility access

  • Screen Recording

  • Application-specific configuration

Deploy the corresponding Swif or Apple policy separately. Do not add a broader Service Management rule to solve an unrelated permission request.

Users Still See a Background Item Notification

This can be expected. The policy approves matched items, but macOS can still display a notification that managed background items were installed.

Verify approval through System Settings and sfltool dumpbtm rather than relying only on whether a notification appears.

Collect Background Task Management Logs

To monitor background task management activity, run:

log stream --debug --info --predicate "subsystem = 'com.apple.backgroundtaskmanagement' and category = 'mcx'"

Reproduce the application registration or launch while the command is running. Stop the stream with Control-C.

Review logs for sensitive usernames, application paths, or identifiers before sharing them with Swif Support.

Security and Compliance Impact

Background items and privileged helper tools can run without the main application being open and may operate with elevated privileges. Automatically approving an overly broad set of items can increase persistence and software supply-chain risk.

For a secure deployment:

  • Approve only applications and services required by the organization.

  • Prefer exact BundleIdentifier and Label rules.

  • Verify code signatures and identifiers from trusted application packages.

  • Document the owner and purpose of every rule.

  • Review TeamIdentifier and LabelPrefix rules frequently.

  • Remove obsolete approvals during application retirement and offboarding.

  • Pair this policy with appropriate application deployment, PPPC, and system-extension controls.

  • Test vendor updates because identifiers, labels, and helper architecture can change.

This policy supports endpoint governance and least-privilege objectives, but it does not independently verify that a background item is safe or make the organization compliant with a particular framework.

Notes

  • At least one rule is required.

  • Rule Type and Rule Value are required for every rule.

  • Comment is optional and does not affect matching.

  • Rules approve matching items; they do not block unmatched items.

  • An item matching any configured rule is approved.

  • Exact matching is safer than broad team or prefix matching.

  • The policy does not install applications or helper tools.

  • Policy removal does not uninstall the matched application or service.

  • Application updates may introduce new identifiers or labels that require policy changes.

Summary

The Apple Service Management Managed Login Items Policy automatically approves matched login items, launch agents, launch daemons, privileged helper tools, and other background services on macOS 13.0 or later.

For most deployments:

  1. Inventory the application’s background components on a test Mac.

  2. Prefer exact BundleIdentifier or Label rules.

  3. Use TeamIdentifier and LabelPrefix only when broader approval is intentional.

  4. Add a clear comment explaining every rule.

  5. Verify enforcement with System Settings and sfltool dumpbtm.

  6. Deploy other required permissions, such as PPPC or system-extension approval, separately.

  7. Test vendor updates before broad deployment.

Related Resources

Did this answer your question?