Product Documentation

Android for Work app restriction policy

Jul 13, 2015

You can modify the restrictions associated with Android for Work apps, but before you can do so, you must meet the following prerequisites:

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

localized image

2. Click Add to add a new policy. The Add a New Policy page appears. 

localized image

3. On the Add a New Policy page, click More and then under Security, click Android for Work App Restrictions. A dialog box appears asking you to select an app. 

localized image

4. In the list, select the app to which you want to apply restrictions and then click OK.

  • If there are no Android for Work apps added to XenMobile, you cannot proceed. For more information about adding apps to XenMobile, see Adding Apps to XenMobile.
  • If the app has no restrictions associated with it, a notification to that effect appears. Click OK to dismiss the dialog box.
  • If the app has restrictions associated with it, the Android for Work App Restrictions Policy information page appears.
localized image

5. 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.

6. Click Next. The Policy Platforms page appears.

7. Under Platforms, in the Android for Work policy information pane, configure the settings for the app you selected. The settings you see depend on the restrictions associated with the selected app. The following figure shows some of the options available for the Google Docs app.

localized image

8. Expand Deployment Rules and then configure the following settings:

   The Base tab appears by default. 

localized image
  • In the lists, click options to determine when the policy should be deployed.

     i. You can choose to deploy the policy when all conditions are met or when any conditions are met. The default option is All.

    ii.  Click New Rule to define the conditions.

    iii.  In the lists, click the conditions, such as Device ownership and BYOD, as shown in the preceding figure.

    iv.  Click New Rule again if you want to add more conditions. You can add as many conditions as you would like.

  • Click the Advanced tab to combine the rules with Boolean options. 
localized image

The conditions you chose on the Base tab appear.

  • You can use more advanced Boolean logic to combine, edit, or add rules.

     i. Click AND, OR, or NOT.

     ii. 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.

     iii. 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.

localized image

9. Click Next.

     The Android for Work App Restrictions Policy assignment page appears.

10. 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 Delivery groups to receive app assignment list. 

localized image

11. Expand Deployment Schedule and then configure the following settings:

  • 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.
  • Next to Deployment schedule, click Now or Later. The default option is Now.
  • If you click Later, click the calendar icon and then select the date and time for deployment.
  • Next to Deployment condition, click On every connection or click Only when previous deployment has failed. The default option is On every connection.
  • Next to Deploy for always-on connection, click ON or OFF. The default option is OFF

注意

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 that 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.