User Enrollment
With user enrollment, private iPhones and iPads can be enrolled without the owner having to give up all control over the devices. Based on the Bring Your Own Device approach (BYOD), private devices of students or employees can be integrated and used in the school or company context while maintaining the protection of private data. User enrollment of Macs is described in the article User Enrollment (macOS) →.
There are two variants of user enrollment: account-driven user enrollment, where sign-in on the device takes place with a Managed Apple Account (Managed Apple ID in the portal), and profile-based user enrollment via an enrollment link (conventional manual enrollment).
Benefits
- Administrators cannot view privately installed apps.
- Devices remain under control of users.
Disadvantages
- Not all actions and policy configurations are possible. For example, a passcode configuration always enforces a non-simple passcode with at least six characters on user enrollments; other settings in the configuration are ignored.
- Managed Apple Accounts are required.
- The user and role of an enrolled device cannot be changed afterwards.
Account-driven user enrollment
Relution supports account-driven user enrollment for iPhones and iPads that are not in Supervised Mode →. This makes it much easier to enroll personal devices in Relution.
Sign-in takes place on the device under Settings → General → VPN & Device Management via Sign In to Work or School Account…, i.e. with the Managed Apple Account. Using Service Discovery, the device determines the responsible MDM server based on the domain of the Managed Apple Account and redirects to the Relution sign-in page, where sign-in takes place with the Relution user account. The sign-in with the Managed Apple Account is then confirmed on the device, the MDM profile is installed, and the device appears in the device inventory of the corresponding Relution organization.
Requirements
- An APNs certificate stored in Relution (APNS Push Certificates →).
- A Managed Apple Account and a Relution user account for each user. The Managed Apple ID is stored in the user details for this purpose; without a Managed Apple ID, Relution uses the user’s E-mail address. This value must match the Managed Apple Account used to sign in on the device.
- Either the Account-driven Apple user enrollment setting enabled in the organization or a user enrollment → created for the user.
- Service Discovery for the domain of the Managed Apple Accounts, either automatically via Apple School/Business Manager or via a well-known file.
Enable account-driven Apple user enrollment
The setting is located under Settings → Device Management in the Account-driven Apple user enrollment section. It applies per organization; the section is not shown in the global organization.
When a user signs in, Relution first uses an iOS user enrollment created for this user with the status Created that is still valid for at least five minutes. If no such enrollment exists and the Account-driven Apple user enrollment toggle is enabled, Relution automatically creates a user enrollment with the ownership Bring Your Own Device (BYOD) and a validity of five days. The toggle is disabled by default; without a matching user enrollment, enrollment of the device then fails.
Time limits for signing in
As of Relution 27.0.1, each sign-in to Relution during enrollment is valid for a single enrollment on one device only and is limited in time:
- After signing in to Relution, the device must retrieve the enrollment profile within 15 minutes.
- The sign-in with the Managed Apple Account (Managed Apple ID in the portal) on the device, including the second factor if applicable, must then be completed within 1 hour.
If a time limit is exceeded or the enrollment is interrupted after the profile has been retrieved, for example by a lost connection, it cannot be resumed. The enrollment is then restarted on the device via Settings → General → VPN & Device Management, followed by a new sign-in to Relution. The same applies if no matching user enrollment exists for the user and the Account-driven Apple user enrollment slider is disabled; in this case, a user enrollment is created or the slider is enabled before restarting.
Several devices of the same user can be enrolled at the same time; each device requires its own sign-in to Relution.
Set up Service Discovery
Service Discovery must be configured so that Apple can direct devices to the correct MDM server. There are two ways to do this.
Automatically via Apple School/Business Manager
As of iOS 18.2 and iPadOS 18.2, no separate file is required if Apple School/Business Manager is connected to Relution for Automated Device Enrollment (ADE, DEP in the portal) via a DEP account. Relution automatically stores the Service Discovery URL in Apple School/Business Manager during every synchronization of ADE devices. This requires Relution to be set as the default MDM server for iPhone and iPad under Preferences → Your MDM Servers → MDM Server Assignment → Default MDM Server Assignment.
Via a well-known file
For devices running a version earlier than iOS 18.2 or iPadOS 18.2, or without a connected Apple School/Business Manager, an HTTP well-known resource file must be published on the domain users sign in with. Relution already answers this request itself for its own hostname; a separate file is therefore only required if the domain of the Managed Apple Accounts differs from it. Apple must be able to retrieve this file via an HTTP GET request at the following URL:
https://yourdomain.com/.well-known/com.apple.remotemanagement
yourdomain.com stands for the domain that is also used for the Managed Apple Accounts.
The file must be hosted on a domain that can handle HTTP GET requests.
The file is created in JSON format with the content type application/json.
To enter the correct information in the file, the required information can be copied directly from the Relution portal:
Settings→Device Managementis opened.- In the Account-driven Apple user enrollment section, the JSON text shown under Response is copied in full, including the outer curly braces (Copy to clipboard button), and pasted into the file. The JSON text is shown regardless of the toggle.
Example: maxmustermann@musterhausen.de
In this example, the domain would be musterhausen.de. The Service Discovery file would need to be published there.
Create a user enrollment in Relution
A user enrollment is created under Devices → Enrollments via Add. iOS is selected as Platform and the User Enrollment button as Type. The type can only be selected with permission to read users.
A user enrollment is always assigned to exactly one user, who cannot be changed afterwards; a separate enrollment is created for each user. In the user details, the Managed Apple ID field or, as a fallback, the E-mail address field must contain the address of the Managed Apple Account. If no Managed Apple ID is stored, Relution transfers the email address to the device as the Managed Apple Account. For devices enrolled via user enrollment, the assigned user and the device role can no longer be changed or removed.
A user enrollment created this way is used for account-driven user enrollment when the user signs in on the device. On devices up to iOS 17 or iPadOS 17, it can also be used for profile-based user enrollment.
Profile-based user enrollment (up to iOS 17)
The enrollment link of the created user enrollment is sent to the respective student or employee. Via the link, the enrollment is performed on the iPhone or iPad using the user’s Managed Apple Account, and the device automatically appears in the device inventory of the corresponding Relution organization.
Related Topics
- User Enrollment (macOS) → — Account-driven and profile-based user enrollment of private Macs.
- Overview of enrollments (visionOS) → — Account-driven user enrollment of the Apple Vision Pro.
- Configure DEP → — Connecting Automated Device Enrollment (ADE); prerequisite for automatic Service Discovery via Apple School/Business Manager.