Product Documentation

App uninstall device policies

Jun 23, 2015

You can create an app uninstall policy for iOS, Android, Samsung KNOX, Android for Work, and Windows 8.1 Tablet platforms. An app uninstall policy lets you remove apps from users' devices for any number of reasons. It may be that you no longer want to support certain apps, your company may want to replace existing apps with similar apps from different vendors, and so on. The apps are removed when this policy is deployed to your users' devices. With the exception of Samsung KNOX devices, users receive a prompt to uninstall the app; Samsung KNOX device users do not receive a prompt to uninstall the app.

  1. In the XenMobile console, click Configure > Device Policies. The Device Policies page appears. On the Device Policies page, click Add.

     

    Select device policies

     

  2. On the Add a New Policy dialog box, click More and then, under Apps, click App Uninstall.
  3. In the App Uninstall Policy Information pane, enter the following information:
    1. Policy Name: Type a descriptive name for the policy.
    2. Description: Type an optional description of the policy.
    3. Click Next.
  4. When the Policy Platforms page appears, all platforms are selected and you see the iOS platform configuration panel first. Under Platforms, select the platform or platforms you want to add, and de-select those you don't.

     

    iOS app uninstall policy information page

     

  5. Configure the following settings based on the platforms you selected.
    1. If you selected, iOS, in the list Managed app bundle ID, click an existing app or click Add new.
      Note: If there are no apps configured for this platform, the list will be empty and you must add a new app.
      When you click Add, a field appears where you can type an app name.
    2. If you chose Android, Samsung KNOX, Android for Work, or Windows 8.1 Tablet:

       

      Android app uninstall policy information page

       

      Under Apps to uninstall, click Add and then do the following:

      1. App name: In the list, click an existing app or click Add new to enter a new app name.
        Note: If there are no apps configured for this platform, the list will be empty and you must add new apps.
      2. Click Add to add the app or click Cancel to cancel adding the app.
      3. Repeat steps i. and ii. for each app you want to add to the uninstall policy.
        Note: To delete an existing app from the uninstall policy, hover over the line containing the listing and then click the trash can icon on the right-hand side. A confirmation dialog box appears. Click Delete to delete the listing or Cancel to keep the listing.

        To edit an existing app, hover over the line containing the listing and click the pen icon on the right-hand side. Make any changes to the listing and then click Save to save the changed listing or Cancel to leave the listing unchanged.

  6. Expand Deployment Rules and then configure the following settings: The Base tab appears by default.

     

    Deployment rules

     

    1. In the lists, click options to determine when the policy should be deployed.
      1. You can choose to deploy the policy when all conditions are met or when any conditions are met. The default option is All.
      2. Click New Rule to define the conditions.
      3. In the lists, click the conditions, such as Device ownership and BYOD, as shown in the preceding figure.
      4. Click New Rule again if you want to add more conditions. You can add as many conditions as you would like.
    2. Click the Advanced tab to combine the rules with Boolean options.

       

      Advanced deployment rules with base rules

       

      The conditions you chose on the Base tab appear.
    3. You can use more advanced Boolean logic to combine, edit, or add rules.
      1. Click AND, OR, or NOT.
      2. In the lists that appear, choose the conditions that you want to add to the rule and then click the Plus sign (+) on the right-hand side to add the condition to the rule.

        At any time, you can click to select a condition and then click EDIT to change the condition or Delete to remove the condition.

      3. Click New Rule again if you want to add more conditions.

        In this example, the device ownership must be BYOD, the device local encryption must be True, and the device mobile country code cannot be only Andorra.

        Advanced deployment rules complete

         

  7. Click Next. The App Uninstall Policy assignment page appears.
  8. Next to Choose delivery groups, type to find a delivery group or select a group or groups in the list to which you want to assign the policy. The groups you select appear in the right-hand Delivery groups to receive app assignment list.

     

    Policy assignment page

     

  9. Expand Deployment Schedule and then configure the following settings:
    1. Next to Deploy, click ON to schedule deployment or click OFF to prevent deployment. The default option is ON. If you choose OFF, no other options need to be configured.
    2. Next to Deployment schedule, click Now or Later. The default option is Now.
    3. If you click Later, click the calendar icon and then select the date and time for deployment.
    4. Next to Deployment condition, click On every connection or click Only when previous deployment has failed. The default option is On every connection.
    5. Next to Deploy for always-on connection, click ON or OFF. The default option is OFF.
      Note: This option applies when you have configured the scheduling background deployment key in Settings > Server Properties. The always-on option is not available for iOS devices.
    Note: The deployment schedule you configure is the same for all platforms. Any changes you make apply to all platforms, except for Deploy for always on connection, which does not apply to iOS.

     

    Deployment schedule

     

  10. Click Save to save the policy.