Deploying the USS Mobile Agent via Intune (Fully Managed / Supervised Device)
- Part 1 — Before You Start: Prerequisites
- Part 2 — Back Up the iPhone
- Part 3 — Add the Device to Apple Business Manager
- Part 4 — Create and Assign an ADE Enrolment Profile in Intune
- Part 5 — Complete Setup on the iPhone
- Part 6 — Deploy USS Mobile
- Part 7 — Enforce the VPN (Always-on, User Cannot Disable)
- Option B — Custom .mobileconfig Profile (Recommended)
- Part 8 — Restore the Backup
- Part 9 — Verify the Deployment
This guide covers deploying USS Mobile to a corporate-owned iPhone that is fully supervised via Apple Business Manager (ABM) and Microsoft Intune Automated Device Enrolment (ADE). This method allows the VPN to be locked so users cannot disable it.
This process requires the device to be wiped. Always take a full encrypted backup before proceeding.
If you have a personally-owned or existing device that cannot be wiped, see the companion guide: Deploying the USS Mobile Agent via Intune (Personal / BYOD Device).
Part 1 — Before You Start: Prerequisites
You will need the following before beginning:
- An active Apple Business Manager account (business.apple.com)
- Apple Configurator 2 installed on a Mac (free, Mac App Store) — required only if the device was not originally purchased through ABM
- A Mac with a USB cable to connect the iPhone
- Your Intune tenant with a valid Apple MDM Push Certificate (see below)
- An Intune Enrolment Program Token linked to your ABM account
Apple MDM Push Certificate
Intune requires a valid Apple MDM Push Certificate to communicate with iOS devices. Go to Intune → Devices → Enrolment → Apple → Apple MDM Push Certificate and confirm the status shows Active.
To renew an expired certificate: download the CSR from Intune, go to identity.apple.com/pushcert, sign in with the same Apple ID used originally, click Renew on the existing Microsoft Corporation entry, upload the CSR, download the .pem, and upload it back to Intune. Always use the same Apple ID — a different one will break existing enrolled devices.
The certificate expires annually. Set a renewal reminder for one month before expiry.
Enrolment Program Token
In Intune, go to Devices → Enrolment → Apple → Enrolment Program Tokens and confirm a token linked to your ABM account is present and not expired. This token also expires annually and must be renewed at the same time as the APNS certificate.
Part 2 — Back Up the iPhone
Before wiping the device, take a full encrypted backup. An encrypted backup captures everything including passwords, Health data, and saved Wi-Fi credentials. A plain unencrypted backup does not.
- Connect the iPhone to a Mac via USB
- If prompted on the iPhone, tap Trust and enter the passcode
- Open Finder and select the iPhone in the left sidebar
- Under the General tab, select Back up all of the data on your iPhone to this Mac
- Tick Encrypt local backup and set a password — store this password safely as you will need it to restore
- Click Back Up Now and wait for it to complete
- Verify the backup via Finder → Manage Backups — confirm the timestamp matches
Part 3 — Add the Device to Apple Business Manager
If the device was purchased directly through Apple or an authorised reseller and already appears in ABM, skip to Part 4.
If the device was not originally purchased through ABM, use Apple Configurator 2 to add it manually. Note this will erase the device.
- Open Apple Configurator 2 and sign in with your ABM Managed Apple ID via Preferences → Accounts
- Connect the iPhone to the Mac via USB
- Put the iPhone into Recovery Mode:
- Quickly press and release Volume Up
- Quickly press and release Volume Down
- Press and hold the Side button until the recovery screen appears (cable and laptop icon) — do not release when the Apple logo appears, keep holding
- The device appears in Apple Configurator 2 — right-click it → Advanced → Add to Apple Business Manager
- Follow the prompts. The device will be erased and registered in ABM.
- In ABM go to Devices, find the newly added device, click Edit MDM Server and assign it to your Intune MDM server
Part 4 — Create and Assign an ADE Enrolment Profile in Intune
- In Intune go to Devices → Enrolment → Apple → Enrolment Program Tokens
- Select your token → Profiles → Create profile → iOS/iPadOS
- Configure the following key settings:
Setting | Value |
User affinity | Enrol with User Affinity (if user has an Entra ID / M365 account) |
Supervised | Yes |
Locked enrolment | Yes |
Allow user to remove management profile | No |
Sync with computers | Deny all |
- Save the profile
- Go back to the token → Devices → find the device by serial number → Assign profile → select the profile you just created
Part 5 — Complete Setup on the iPhone
- Power on the iPhone — it will boot into Setup Assistant
- Connect to Wi-Fi
- The device will automatically pull the ADE enrolment profile from Apple and Intune — you will see a Remote Management screen
- Complete Setup Assistant
- The device enrols into Intune as supervised
Intune will then automatically push assigned apps and configuration profiles to the device. Allow 5 to 15 minutes for policies to apply fully.
Part 6 — Deploy USS Mobile
The USS Mobile app Bundle ID is com.trustlayer.uss (App Store ID: 6752286030).
- In Intune go to Apps → iOS/iPadOS → Add
- Select iOS store app
- Search for USS Mobile by TrustLayer
- Click Next → Assignments
- Under Required, add the group containing your target device or user
- Click Next → Review + create → Create
Assign as Required rather than Available. Required causes Intune to install the app silently without any user interaction.
Part 7 — Enforce the VPN (Always-on, User Cannot Disable)
On supervised devices you can lock the VPN so users cannot disable it. There are two approaches — choose the one that suits your deployment.
Option A — Intune VPN Profile (IKEv2 Always-on)
Use this if you want to configure the VPN directly through Intune without a custom profile file.
- Go to Devices → Configuration profiles → Create → New policy
- Platform: iOS/iPadOS
- Profile type: Templates → VPN
- Connection type: IKEv2
Key settings:
Setting | Value |
Connection name | TrustLayer USS |
VPN type | Always-on VPN |
Tunnelling mode | All traffic |
Allow user to disable VPN | No |
Lock VPN configuration | Enabled |
Option B — Custom .mobileconfig Profile (Recommended)
Because USS Mobile installs its own VPN profiles, the cleanest approach is to pre-deploy the TrustLayer VPN and certificate configuration via a custom Intune profile using the TrustLayer-provided .mobileconfig file. This avoids any conflict between Intune's VPN profile and the app's own profiles.
Contact TrustLayer support at support@trustlayer.co.uk to request the MDM deployment package for your tenant. This includes the .mobileconfig file and CA certificate ready for Intune import.
To import it:
- Go to Devices → Configuration profiles → Create → New policy
- Platform: iOS/iPadOS
- Profile type: Templates → Custom
- Upload the .mobileconfig file provided by TrustLayer
- Assign to the supervised device group
Set the profile assignment to required and ensure PayloadRemovalDisallowed is set to true in the profile — users will then be unable to remove it.
Part 8 — Restore the Backup
Once the device has fully enrolled and Intune policies have applied:
- Connect the iPhone to the Mac via USB
- Open Finder and select the iPhone
- Click Restore Backup
- Select the encrypted backup taken in Part 2
- Enter the encryption password
- Wait for the restore to complete and the device to reboot
Part 9 — Verify the Deployment
Allow 5 to 10 minutes after restore for Intune policies to fully settle, then verify:
- Settings → General → VPN & Device Management — the Intune MDM profile should be listed and the remove button should be greyed out
- Settings → VPN — the TrustLayer VPN should show as connected with no option to disable it
- USS Mobile should be present on the home screen and authenticating via SSO
- In the TrustLayer admin console, the device should appear as an active endpoint with policies applying
Reference Information
Item | Value |
USS Mobile Bundle ID | com.trustlayer.uss |
USS Mobile App Store ID | id6752286030 |
Minimum iOS version | iOS 17.0 |
Enrolment type | ADE via Apple Business Manager (supervised) |
VPN lock possible | Yes |
Apple Push Certs Portal | identity.apple.com/pushcert |
Apple Business Manager | business.apple.com |
TrustLayer Support |