Samsung KNOX Bulk Enrollment

To enroll multiple Samsung KNOX devices into Endpoint Management (or any mobile device manager) without manually configuring each device, use KNOX Mobile Enrollment. The enrollment occurs upon first-time use or after a factory reset. Admins can also pass usernames and passwords directly to the device, so users don’t need to enter any information upon enrollment.

Note:

The setup for KNOX Mobile Enrollment is not related to the Endpoint Management KNOX container. For more information on Knox Mobile Enrollment, see KME Requirements.

Prerequisites for KNOX Mobile Enrollment

  • Samsung devices running KNOX 2.4 or later

    Note:

    Only TIMA-enabled Samsung 2.4 devices are supported out of the box by the Samsung KNOX Mobile Enrollment tool.

  • Some devices lacking a device root key (DRK) support Mobile Enrollment with the KNOX 2.4.1 binary. For a list of supported devices, see KNOX Mobile Enrollment. Samsung must whitelist the devices to be enrolled.
  • When you add devices to the KNOX portal, you enter device IMEIs or serial numbers. The only way to bulk enroll is to:
    • Purchase devices from a list of approved Samsung resellers, or;
    • Purchase devices from resellers willing to share the IMEIs directly with Samsung. A list of resellers for your country can be obtained from KNOX customer support.

For details on device verification requirements, contact KNOX Support.

  • KNOX partner account
  • Endpoint Management must be configured (including licenses and certificates) and running.
  • Secure Hub APK file. You will upload the file when setting up KNOX Mobile Enrollment.

To download the Secure Hub APK file

  1. Log in to the Citrix download site and go to the Citrix Endpoint Management downloads.

  2. Go to Mobile productivity apps and MDX Toolkit and choose your edition.

  3. Download the Citrix Secure Hub for Android file.

Configure firewall exceptions

To access Knox Mobile Enrollment, configure the following firewall exceptions. Some of these firewall exceptions are required for all devices and some are specific the device’s geographical region.

Device Region URL Port Destination
All https://gslb.secb2b.com 443 Global load balancer for Knox Mobile Enrollment initiation
All http://gslb.secb2b.com 80 Global load balancer for Knox Mobile Enrollment initiation on some limited legacy devices
All umc-cdn.secb2b.com 443 Samsung agent update servers
All bulkenrollment.s3.amazonaws.com 80 Knox Mobile Enrollment customer EULAs
All eula.secb2b.com 443 Knox Mobile Enrollment customer EULAs
All us-be-api-mssl.samsungknox.com 443 Samsung servers for IMEI verification
United States https://us-segd-api.secb2b.com 443 Samsung Enterprise Gateway for US region
Europe https://eu-segd-api.secb2b.com 443 Samsung Enterprise Gateway for European region
China https://china-segd-api.secb2b.com 443 Samsung Enterprise Gateway for China region

Getting access to KNOX Mobile Enrollment

Follow these procedures to get access to KNOX Mobile Enrollment.

If you have a KNOX web portal account

  1. Log on to the KNOX web portal and go to your Samsung KNOX Dashboard.

  2. Under KNOX Mobile Enrollment, click Get Started.

  3. Fill out the applicable fields and then click Apply.

After Samsung approves your application, you will receive a welcome email with instructions on how to start using the KNOX Mobile Enrollment tool. For a faster approval process, provide any essential information, including contact details for your reseller, Samsung sales representative, or any other information that will assist in your approval.

If you don’t have a KNOX web portal account

  1. On the KNOX Mobile Enrollment page, click Get Started.

  2. Fill out the required fields.

  3. You will receive an email to confirm your registration with the KNOX portal. Click Complete Registration to continue.

  4. Enter and confirm your KNOX web portal password.

  5. In your Samsung KNOX Dashboard, under KNOX Bulk Enrollment Program, click Launch KNOX Mobile Enrollment.

  6. For faster approval, please provide any essential information; this includes contact details for your reseller, Samsung sales representative, or any other information that will assist in your approval.

Setting up KNOX Mobile Enrollment

After you get access to KNOX Mobile Enrollment, go to the KNOX portal and then click Launch Mobile Enrollment.

Image of the Launch Mobile Enrollment screen

If Samsung cannot authorize the account to use Bulk Enrollment, you will see this screen:

Image of the Go Back button

The enrollment process then follows these general steps, described in detail in the following sub-sections.

  1. Create an MDM profile with your MDM console information and settings.

    The MDM profile indicates to your devices how to connect to your MDM.

  2. Add devices to your MDM profile.

    You can either upload a CSV file with device information or scan the devices with the Mobile Enrollment app from Google Play.

  3. Samsung alerts you when device ownership is verified.

  4. Provide users with MDM credentials. Instruct them to connect to the Internet using Wi-Fi and to accept the prompt to enroll their device.

To create an MDM profile

You must create an MDM profile that defines the Endpoint Management server to use. Create one profile per server.

  1. Log on to the KNOX Mobile Enrollment website.

  2. Click the MDM Profiles tab, click Add and then click Server URI not required for my MDM.

    Image of the MDM Profiles tab

    Image of the MDM Server Connection option

    Note:

    Do not specify an MDM server URI. Endpoint Management does not use the Samsung MDM protocol.

  3. In the Create an MDM Profile screen, provide the following:

    • A name for the profile.
    • For MDM Agent APK, the Secure Hub APK download URL. For example:

      http://example.com/zdm/worxhome.apk

      https://pmdm.mycorp-inc.net/zdm/worxhome.apk

      The APK file can reside on any server that the devices can access during enrollment. During the enrollment, a device downloads Secure Hub from that URL, installs Secure Hub, and then opens Secure Hub with the custom JSON data described next.

      Note:

      The capitalization of the .apk file name must match the URL you enter. For example, if the file name is all lowercase, it must also be all lowercase in the URL.

    • For Custom JSON Data, enter the Endpoint Management server address, username, and password in the format: {"serverURL": "URL", "xm_username":"Username", "xm_password":"Password"}

      Examples:

      {"serverURL":"https://example.com/zdm", "xm_username":"userN", "xm_password":"password1234"} {"serverURL":"https://pmdm.mycorp-inc.net/zdm", "xm_username":"james.cork", "xm_password":"aDin20_1fa"}

      You can also enter custom JSON for Android zero-touch.

           {
               "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE":
               {
                   "serverURL":"URL","xm_username":"username","xm_password":"password"
               }
           }
      

      Note:

      The Secure Hub APK file must be uploaded on the specified server (example: https://pmdm.mycorp-inc.net:4443) under the Apps section. This is similar to uploading enterprise apps.

      Image of the MDM Profile page

When a device starts bulk enrollment, the device uses the profile data. First, the device downloads Secure Hub from the given URL, installs Secure Hub, and opens Secure Hub with the custom JSON data as parameter. Secure Hub already has the Endpoint Management address, so Secure Hub doesn’t need to prompt for it. Enrollment occurs automatically, since the JSON file provides credentials as well.

To add devices by using a CSV file

To add devices, upload device IDs and associate them to one of the previously created MDM profiles. Upload a .csv file. The different ways of building the file are documented on the KNOX website. The simplest way is to enter one IMEI per line, as follows.

Note:

You can alternatively add devices by scanning them, as described in the next section.

  1. Go to Devices > All Devices and then click Upload Devices.

    Image of the Upload Devices option

  2. Under CSV File Format, click Download file template.

  3. Enter information in corresponding columns in the template:

    • Device info: IMEI, MEID, or serial number.
    • Username: (optional) If the user has been provisioned with a user name for your enterprise MDM setup.
    • Password: (optional) If the user has been provisioned with a password for your enterprise MDM setup.
    • Other info: (optional) Any other information that you want to include about the device.
  4. Highlight all the cells in the spreadsheet.

  5. Right-click the highlighted cells and then select Format cells.

  6. On the Number tab, under Category, click Text and then click OK.

  7. Save the spreadsheet as a .csv file.

To enroll devices by using a .csv file

  1. Click the Devices tab.

  2. Click Upload Devices.

    Image of the Upload Devices creen

  3. In the Add Devices dialog box, click Browse, select your .csv file and then click Upload.

  4. Enter your purchase details. The KNOX Mobile Enrollment tool verifies your purchase details to ensure that each device is enrolled in the proper enterprise.

  5. Under Assign to Profile, select the MDM profile that you added.

  6. Click Submit.

The All Devices list displays the enrollment status and profile of all the devices that you attempted to enroll.

For a device to successfully enroll in the enterprise, the device must connect to Wi-Fi and users must agree to download and install Secure Hub.

To add devices by using Scan

  1. Download and install the KNOX Mobile Enrollment app from Google Play.

  2. Enter your Samsung Portal credentials and then tap SIGN IN.

  3. Tap Scan Devices.

  4. Tap Scan new devices.

  5. Align the barcode of your device with the red line to scan.

  6. If the scan succeeds, the device IMEI appears. Tap Save.

  7. Your scanned devices are shown in the scan queue. Tap Upload.

To enroll scanned devices

  1. Log on to your KNOX Web Portal account and click Launch Mobile Enrollment.

  2. Tap Scanned to view all added devices.

  3. Select the devices that you want to enroll and then tap Submit selected. To submit all scanned devices, tap Submit all.

  4. In the Submit scanned devices pop-up, enter your Purchase details to confirm device ownership.

  5. In the Assign MDM profile menu, select the profile to use for device enrollment and then click Submit.

You will receive a confirmation email when the device information is verified.

For security reasons, devices are not immediately assigned to this bulk enrollment account. Samsung first must verify that the devices belong to the entity that is setting up the bulk enrollment account.

For that purpose, the next screen prompts for the identity of the reseller and for matching invoices.

Image of the reseller identification prompt

Important:

For legal reasons, Samsung maintains two distinct server groups: Americas and EU. U.S. devices must register with a KNOX account for the U.S. region. EU devices, as well as devices from any other region except China, which is not supported, must register with a KNOX account for the EU region.

A device from the wrong region will actually be accepted into the account, but bulk enrollment will fail on the device with a cryptic error. To check whether the device country code or origin is a non-U.S. country, download the simple Phone Info Samsung app from Google Play.

Enrollment experience for users

After the preceding configuration is completed, the first time a user starts a device and connects to the Internet using Wi-Fi, the following sequence of screens appears. The enrollment process starts automatically and users needs to download and install Secure Hub and then enter valid credentials on the Secure Hub screen to complete the enrollment.

Note:

Enrollment doesn’t use a cellular connection to avoid any network costs for the user.

Image of the Downloading screen

Image of the Enrolling screen

To enroll devices running a KNOX API earlier than version 2.4

On devices that have KNOX API earlier than version 2.4, bulk enrollment will not work out of the box, so users must initiate enrollment by going to a Samsung site to download the new Mobile Enrollment client and start the enrollment.

The downloaded enrollment client uses the same MDM profile and APKs configured in the KNOX Bulk enrollment portal for the KNOX 2.4/2.4.1 devices.

Users typically follow these steps:

  1. Turn on the device and connect to Wi-Fi. If the Mobile Enrollment doesn’t start or Wi-Fi is not available, do the following:

  2. When the prompt Enroll with KNOX appears, tap Continue.

  3. Read the EULAs (if available). Tap Next.

  4. If prompted, enter the User ID and Password provided by the IT administrator.

At this point, the user credentials are validated and their device is enrolled in your organization’s enterprise IT environment.

Enable and disable biometric authentication for Samsung devices

Endpoint Management allows you to enable and disable biometric authentication (fingerprint and iris scan authentication) for Samsung devices without requiring any action from users. If you disable biometric authentication in Endpoint Management, users and third-party apps cannot enable the feature.

  1. In the Endpoint Management console, click Configure > Device Policies. The Device Policies page appears.

  2. Click Add. The Add New Policy page appears.

  3. Click Passcode. The Passcode Policy information page appears.

  4. In the Policy Information pane, enter the following information:

    • Policy Name: Type a descriptive name for the policy.
    • Description: Optionally, type a description of the policy.
  5. Click Next. The Platforms page appears.

  6. Under Platforms, select Android or Samsung KNOX.

  7. Set Configure biometric authentication to ON.

  8. If you selected Android, under Samsung SAFE, select Allow fingerprint or Allow Iris or both.

    Image of the Configure biometric authentication option