Apple TV 4th Gen and 4K - Enrolling in DEP Using Apple Configurator 2
Note: Apple TV’s and iOS devices can be removed from, and added back to, Apple School Manager (school.apple.com, or DEP) ad libitum but macOS devices can not. See “Manage Device Assignments/Release Devices” in the following: https://help.apple.com/schoolmanager/#/asmec4d28461
INSTRUCTIONS as of 20220927
Get latest copy of Apple TV Wifi (Clearpass)” configuration profile
log into casper.saes.org:8443
open “Apple TV Wifi (Clearpass)” configuration profile
click “Download”
Connect Apple TV (ATV) to:
power
monitor
ethernet cable
Update to latest tvOS
Reset ATV (Settings/System/Reset)
MAKE SURE ATV IS AT THE “PAIR YOUR REMOTE” SCREEN
Connect ATV to either:
the AC2 computer with USB-C cable, or…
the same network as the AC2 comptuer
Launch Apple Configurator 2 (AC2)
Under File menu open “Paired Devices”
Select “Add” for the device named “Apple TV” (assumes Apple TV is freshly wiped and so has it’s default “Apple TV” name)
Enter the code the Apple TV gives you into the dialog box
“Apple TV” now appears in AC2’s “All Devices window”
Highlight ATV
Click “Prepare” and choose these settings:
Manual Configuration
Add to Apple School Manager.
Activate and complete enrollment
Supervise devices
Allow devices to pair with other computers
Enter name of MDM server: https://casper.saes.org:8443
Enter Host name or URL:: https://casper.saes.org:8443
Add trust anchor certificate: casper.saes.org
Sign in to Apple School Manager: user = appledep@saes.org password = short j
Input verification code from phone
Click “Choose an existing supervision identity” then click “Next”
If no identity is displayed then click “Choose” and choose a St. Andrew’s identity
Configure tvOS Setup Assistant: Don’t show any of these steps
Network profile: point it to the downloaded config profile from Step 1 above
Automatic Enrollment Credentials: leave blank
Click Prepare
Apple TV will reboot as part of its preparation. Ignore the “device not connected” message.
INSTRUCTIONS as of 2021
Get latest copy of Apple TV Wifi (Clearpass)” configuration profile
log into casper.saes.org:8443
open “Apple TV Wifi (Clearpass)” configuration profile
click “Download”
Connect Apple TV (ATV) to:
power
monitor
ethernet cable
Update to latest tvOS
Reset ATV (Settings/System/Reset)
MAKE SURE ATV IS AT THE “PAIR YOUR REMOTE” SCREEN
Connect ATV to either:
the AC2 computer with USB-C cable, or…
the same network as the AC2 comptuer
Launch Apple Configurator 2 (AC2)
Under File menu open “Paired Devices”
Select “Add” for the device named “Apple TV” (assumes Apple TV is freshly wiped and so has it’s default “Apple TV” name)
Enter the code the Apple TV gives you into the dialog box
“Apple TV” now appears in AC2’s “All Devices window”
Highlight ATV
Click “Prepare” and choose these settings:
Manual Configuration
Add to Apple School Manager.
Activate and complete enrollment
Supervise devices
Allow devices to pair with other computers
Enroll in MDM Server: https://casper.saes.org:8443
Assign to organization: SAES
Configure tvOS Setup Assistant: Don’t show any of these steps
Network profile: point it to the downloaded config profile from Step 1 above
Automatic Enrollment Credentials: leave blank
Click Prepare
Instructions as of 2019
Connect Apple TV (ATV) and computer to same network
Launch Apple Configurator 2 (AC2)
Under AC2 menu launch Paired Devices
Highlight ATV of interest in list
Click Pair
If this repeatedly fails, Xcode has a “pair” function you can try:
In Xcode, go to Window/Devices and Simulators/Devices
If the Apple TV shows up there, then click “Pair”
Once paired, go back to AC2 and the ATV should be in the main window
In AC2, highlight the Apple TV in the main window
Click Prepare
Accept defaults on first page
Define an MDM Server: Name = URL = https://casper.saes.org:8443
Sign in to DEP: Apple ID = appledep@saes.org with short password
Configure tvOS Setup Assistant: Don’t show any of these steps
Click Prepare
Ignore “...waiting for device…” message
Once ATV reboots quit AC2 and Paired Devices
At school.apple.com assign ATV to SAES Jamf server
In Jamf, name the ATV
With ATV remote, input Language, Region, and agree to Management
DETAILED INSTRUCTIONS
BEFORE YOU BEGIN, MAKE SURE YOU HAVE...
Apple TV (ATV) 4th Generation or Apple TV 4K
Downloaded a copy of Apple TV WiFi (Clearpass).mobileconfig
I put a copy of one in the following folder: Google Drive/Team Drive/Technology Department/Apple TVs/Apple TV 4th Gen and 4K - Enrolling in DEP Using Apple Configurator 2
Latest version of…
Apple Configurator 2 (AC2)
iTunes
macOS High Sierra (or later, probably)
tvOS on the ATV
Mac and ATV connected to the same network (both wired or both wireless)
Erase ATV if it is not new out of the box
Connect ATV to:
power
ethernet cable
monitor
Get ATV to the “Pair Your Remote” screen
If you let it sit at this screen for too long it goes to a screen saver. You must unplug ATV, replug it in, and get it back to “Pair Your Remote” before you can continue
Launch AC2
It opens to the All Devices window and the new ATV will NOT yet be shown
Under Apple Configurator 2 menu click “Paired Devices”
Click “Pair” for your device (device is default named “Apple TV”)
If ATV does not appear:
Make sure ATV and your computer are both on the same network
Reboot your computer. Paried Devices generally works after that.
If this repeatedly fails, Xcode has a “pair” function you can try:
In Xcode, go to Window/Devices and Simulators/Devices
If the Apple TV shows up there, then click “Pair”
Once paired, go back to AC2 and the ATV should be in the main window
Enter the code the ATV gives you
ATV now appears in the All Devices window
ATV shows “No” in the “Is Supervised?” column. This means it is not yet managed.
Highlight the Apple TV in the main window
Click Prepare
Enable these settings (they are the default) and leave all others blank where possible:
Manual Configuration
Add to Device Enrollment Program
Allow devices to pair with other computers
Define an MDM Server
Select New Server or chose your existing (“SAES DEP” for us)
Name = https://casper.saes.org:8443
URL = https://casper.saes.org:8443
Trust anchor certificate is already populated in the next screen
Sign in to DEP
Apple ID = appledep@saes.org
Password = short
Create an Organization
Choose an existing supervision identity by clicking Next
Click “Choose”
Now “Choose” the SAES certificate it offers
Configure tvOS Setup Assistant
Don’t show any of these steps
Click “Next”
Choose Network Profile
If our SAES Apple TV Wifi Clearpass config profile is not offerred then click “Choose” and browse to where you saved one
Click Prepare
Prepare window will show a “...waiting for device..” message that does not go away
A popup window asks for your credentials. Enter them.
ATV will reboot to “Pair Your Remote” screen
You can quit AC2 and Paired Devices at this point
Log in to school.apple.com
username = appledep@saes.org and password = short
Click Device Assignments in left-hand column
Click Search Devices at top
Search for ATV by serial number
Assign ATV to “SAES Jamf”
This gets ATV into Jamf’s PreStage Enrollment (PSE)
Pair Apple Remote with ATV
Step through Setup Assistant
Select Language, Region, and agree to let it be Managed.
PROBLEM NOTE: Sometimes, when stepping through the Setup Assistant, it will give you a menu asking if you want to set the Apple TV up with a “Device” or “Manually”. This is not normal - our MDM setup should bypass this and other subsequent windows, so if you get it something is wrong. I would redo the Apple TV setup as follows:
Continue through this abnormal setup until you are either at our Conference Display window or at the Apple TV’s homepage.
If you get our Conference Display window then go into Jamf Pro and exclude the Apple TV from the “AppleTV Settings - Conf Display” config profile. It should then dump you onto the Apple TV’s homepage
From the Apple TV’s homepage click Settings/System/Reset/Reset and Update
If you choose “Reset” instead of “Reset and Update”, in my experience you will keep getting the same abnormal setup when you go to redo it.
Once finished it will return to the “Pair Your Remote” screen
Now delete the old entry out of Jamf Pro
Now pair your remote and step through Setup Assistant again. Hopefully our MDM setup will now work correctly.
In Jamf Pro:
See if you can find the Apple TV in PreStage Enrollments/SAES AppleTVs
Search for ATV by serial number
NOTE 1: My test case ATV 4K did show up here, but eventually it disappeared from PreStage Enrollment. However, it’s still in Jamf as an Apple TV and it’s still managable, so I don’t know what to say about this.
NOTE 2: for non-4K ATV’s, if they were in PSE, all you had to do was give them power and connect them to a network wire and Jamf would automatically provision it, no input needed. With ATV 4K I had to use a remote to step through
If you can’t find it in PreStage then just search Inventory for it
“Edit” the ATV, Enforce Mobile Device Name, enter its correct name, its Asset Tag, then Save, then Done
Device should be added to the Smart Device Group named “Apple TV 4th Gen” or “Apple TV 4K”
Exclude the device from the “AppleTV Settings - Conf Display” config profile
Use remote to update to latest tvOS
Remove exclusion from “AppleTV Settings - Conf Display” config profile
PROBLEMS:
ATV 4K’s will disappear from PreStage Enrollment after a few minutes
NO SOLUTION FOUND
ATV 4K’s will occasionally not be visible in the “Apple TV 4K” Smart Group. The Smart Group will correctly list how many there should be, but occasionally, when you View them, none appear in the list.
SOLUTION: Update Inventory for that Smart Group or for the “AppleTVs” (all Apple TV’s) Smart Group
Eric Vacchio
20191021