THIS REPO IS NO LONGER BEING KEPT UP WITH SINCE APPLE HAS DONE AWAY WITH THE NEED FOR AN APPLE ID FOR EVERY DEVICE.
IF YOU WOULD LIKE TO CONTINUE THIS PROJECT, I WILL KEEP AN EYE ON IT AND TEST AND MERGE PULL REQUESTS.
Batch Apple ID Creator
Purpose & Features
Deploying a great quantity of iOS devices means creating a great quantity of Apple IDs. This script allows automated Apple ID creation from a spreadsheet. Apple IDs are created without a credit card, which is great for many deployments. There is a “dry run” feature to test the script without actually creating the Apple ID.
- IMPORTANT: Apple uses a velocity check to prevent too many Apple IDs from a single IP address. You must contact your Apple business representative to request that your IP address is whitelisted for a short time.
- Being AppleScript, this runs only on Macs.
- Last tested successfully usingiTunes 12.4.3 on Mac OS 10.11.6 (El Capitan). Future versions may break the script.
- UI Scripting allows us to script otherwise non-scriptbale interfaces. Turn this on in System Preferences > Accessibility and check “Enable access for assistive devices.”
- Apple has strong password requirements. Account creation will fail if the passwords are too weak.
A template CSV file is included. Create csv file. Then run the script. When running this via Script Editor, the Messages tab of the log will show the account being created to help you recover and start where you left off if a script error occurs.
CSV file tips
- keep the column headers,
- fill out all columns,
- use comma as a column separator,
- don't leave empty lines,
- use MS Excel or Numbers to create file,
- don't include the "- " in front of the security questions,
- leave last column blank,
- for the state just use the two letter initial, ie "NY" not "NY - New York" as its listed in iTunes,
- for the month in birth date use month names with capital first letter, ie "January" for january,
As of iTunes 10.6.1 Apple has required three security questions. The Batch Apple ID Creator allows you to choose the questions from the list below. Each question should be copied into the appropriate spreadsheet column (Security Question 1, 2 or 3) exactly as typed below.
Security Question 1
- What is the first name of your best friend in high school?
- What was the name of your first pet?
- What was the first thing you learned to cook?
- What was the first film you saw in the theater?
- Where did you go the first time you flew on a plane?
- What is the last name of your favorite elementary school teacher?
Security Question 2
- What is your dream job?
- What is your favorite children’s book?
- What was the model of your first car?
- What was your childhood nickname?
- Who was your favorite film star or character in school?
- Who was your favorite singer or band in high school?
Security Question 3
- In what city did your parents meet?
- What was the first name of your first boss?
- What is the name of the street where you grew up?
- What is the name of the first beach you visited?
- What was the first album that you purchased?
- What is the name of your favorite sports team?
Errors are not handled gracefully. Although some errors are recoverable, if the script stops, it loses track of its progress. Edit the spreadsheet to continue.
At the end of this script, Apple will send a verification email to the Apple ID. To complete verification, click the link in the message, then re-enter the account address and password.
The files are downloadable from GitHub: https://github.com/brandonusher/Apple-ID-AppleScript Feel free to fork and improve.
This script was originally created by Enterprise iOS user Greg Moore, who works for Hope Public Schools in Hope, Arkansas. Aaron Freimark then updated the script to work with iTunes 10.6.1 and the multiple recovery questions. Discuss on EnterpriseiOS.com. This script or derivatives must not be sold. If you make it better, please give back to the community that brought it to you.
The base for this script was created by Aaron Freimark
Updated version brought to you by Brandon Usher