-
Notifications
You must be signed in to change notification settings - Fork 14
Setup MDM Check and Inventory Update Step
At startup, IBM Data Shift can perform a background check to verify if the device is enrolled in a recognized MDM program. To enable this check, the administrator must first set the custom setting key skipMDMCheck to false as described on this page. Additionally, some variables in the AppContext.swift file need to be customized before proceeding with the project's archive process.
Specifically, to recognize the MDM environment:
-
The administrator must define a new
ManagedEnvironmentobject within themdmEnvironmentsarray in theAppContext.swiftfile. Each environment must include aname(nr. 1 in the pic below) and aServerURL(nr. 2 in the pic below). The ServerURL is used to identify the environment by matching it with the ServerURL of the detected MDM profile installed on the device. -
If the app is configured to check the Device Management state and does not detect a recognized environment, it will prompt the user to visit a website to begin the enrollment process. The administrator must define this website URL in the
enrollmentRedirectionLink(nr. 5 in the pic below) variable within theAppContext.swiftfile. -
If the administrator chooses to use
selfServicePolicyas thejamfReconMethodoption, they must also define the correspondingreconPolicyID(nr. 3 in the pic below) for that environment, and thestorePathvariable (nr. 4 in the pic below).
Those configurations are also Available as Custom Settings deployable through a Configuration Profile.