> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# App configuration

> Associate apps with domains for universal links, Password AutoFill and single sign-on extensions, and allow or block Enhanced Visual Search in Photos on managed Macs.

The App configuration control configures apps on your Macs: the domains each app is associated with, for universal links, Password AutoFill and single sign-on extensions, and whether Photos can use Enhanced Visual Search. The control takes several configurations, for example one per app or team.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **App configuration**, then click **Add configuration**.

**2. Configure the settings**

Under **Associated domains**, click **Add app** for each app to associate, and set **Enhanced Visual Search** under **Photos** if you want to enforce it. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the Mac keeps its own setting.

## Settings

### Associated domains

For each app you add:

| Setting | What to enter |
| - | - |
| **App identifier** | The team identifier, a dot and the bundle identifier, such as `ABCDE12345.com.example.app`. List each app identifier once per configuration. |
| **Domains** | At least one domain, each as `service:domain`: `applinks` for universal links, `webcredentials` for Password AutoFill, `authsrv` for a single sign-on extension. For example, `applinks:www.example.com`. |
| **Direct downloads** | **On**, **Off** or **Not configured**. Applies only to a domain entered with `?mode=managed`, such as `applinks:www.example.com?mode=managed`. |

### Photos

* **Enhanced Visual Search**: **On** allows Photos to use Enhanced Visual Search, **Off** blocks it.

> [!NOTE]
>
> Only one active configuration of your company can set **Enhanced Visual
> Search**. Associated domains add up across configurations.

## How it works

Primo deploys a configuration profile with up to two payloads: an Associated Domains payload with each app and its domains, and a custom settings payload that sets Enhanced Visual Search for Photos. It only includes the payloads whose settings you configured. Both apply to the whole Mac.

The Mac checks an app's associated domains once that app is installed. The domain must also list the app on its side, in its `apple-app-site-association` file.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [App permissions](https://docs.getprimo.com/mdm/policies/app-permissions.md)
* [App Store apps](https://docs.getprimo.com/mdm/policies/app-store-apps.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.