Automate mobile management tasks with rules

Supported editions for this feature: Frontline Standard; Enterprise Standard and Enterprise Plus; Education Standard, Education Plus, and Endpoint Education Upgrade; Cloud Identity Premium. Compare your edition

As an administrator, you can define rules to automate device management tasks and get security alerts. For example, you can automatically block devices that report suspicious activity.

You can apply device management rules to supported mobile devices.

Note: To approve mobile devices with rules, the devices must be under advanced mobile management. If needed, turn on advanced mobile management.

How rules work

A device management rule is triggered by an event on a managed device. When the event is detected, the rule checks for any conditions you specify. If the conditions are met, an action is carried out.

For example, you can block a device when the account registration state changes on Android devices because a user unregisters their corporate account from the device. In this example:

  • The event is an account registration state change on a device.
  • The first condition is that the device type is Android.
  • The second condition is that a user unregisters their account from the device (Account state is Unregistered from).
  • The action is blocking the device.

You can create your own rule or work with a predefined template. For the scope, you can assign a rule to your whole organization, an organizational unit, or a group in Google Groups. You can also exclude a group.

Note: Device management rules let you approve, block, or wipe a device in response to a specific event. To control access to Google apps for devices based on device attributes such as OS version, security status, IP address, geographic location, or ownership, you can use Context-Aware Access levels. Learn more

Create and edit rules

You must be signed in as a super administrator for this task.

Use the rule templates

Rule templates are set up for common conditions and actions. You can use one as a starting place and change it to suit your organization’s needs. For example, to automatically approve iPhones and iPads but manually approve Android devices, use the Auto-approve device registration template and change the device type to iOS.

Choose a trigger and conditions

Choose the event that triggers the rule. Use conditions to select the device type (Android, iOS, or all) and other conditions that determine if the rule applies to a device. The rule’s action is carried out only when the event happens on devices that meet the specified conditions.

You can choose one event and several conditions for every rule. You must set a device type condition. For all rules, you can also limit a rule to a specific devices by device ID, device serial number, device model, or condition-specific values. To apply more than one condition to a rule, click Add condition.

The OS Version condition is listed for some triggers but isn't currently supported.

Open all  |  Close all

View data about detected events

You can review data about events on managed devices in a Rules Audit.

  1. Sign in with an administrator account to the Google Admin console.

    If you aren’t using an administrator account, you can’t access the Admin console.

  2. Go to Menu and then Reporting > Audit and investigation > Rule log events.

    Requires having the Reports administrator privilege.

  3. To review actions related to your device management rules, click Add Filterand thenDevice management. You can also filter by other event characteristics, such as the rule name or the device owner's account (filter by Resource Owner).
  4. (Optional) To customize what data you see, on the right, click Manage columns . Select the columns that you want to see or hideand thenclick Save.

  5. (Optional) To export the report data directly to a Google Sheets file in Google Drive or to download a CSV file with the report data:
    1. Click Download .
    2. Under Select columns, click Currently selected columns or All columns.
    3. Select a format and click Download.

    With either file type, you can export up to 100,000 rows of data.

Was this helpful?

How can we improve it?
9684892017729523503
true
Search Help Center
true
true
true
true
true
73010
Search
Clear search
Close search
Main menu
false
false
false
false