(Google) Managing Android Enterprise policies

Use Android Enterprise management (EMM) to apply policies to Android devices and manage device enrollment in your organization. For more information about the Android Management API, see Google for Developers: Android Management API quickstart.

Note: Android Enterprise management does not require a Google Workspace. Android Enterprise registration is independent of Google Workspace configuration; complete registration before you manage Android policies or devices. For more information, see Set up Android Enterprise.
Note: Every Android Enterprise device is assigned to a system-owned default policy when it enrolls. The default policy reports device status only and applies no management restrictions. A device remains on the default policy until a targeting rule on another policy matches the device, and falls back to the default policy if no other policy matches. You cannot edit, target, or delete the default policy.

Set up Android Enterprise

Before you can manage Android Enterprise devices, register Device Management as the Enterprise Mobility Management (EMM) provider for your organization.

Important: Registering Device Management as an EMM provider replaces any existing EMM provider bound to your organization. If another EMM is currently registered, Android devices must re-enroll after the migration.
Note:
  • A Device Management deployment supports one Android Enterprise by default.

You must have a Google Workspace Super Admin account to complete registration.

  1. From the Main menu, go to Shared Services > Device Management > Integrations > Android.
  2. Click Begin Registration. Device Management opens Google's signup page in a new tab.
    Note: The following steps occur the Google sign up page.
    1. Sign in with a Google Workspace Super Admin account.
    2. Review the consent screen and authorize Device Management as the EMM provider for your organization.
  3. Return to the Device Management tab. Device Management detects the completed registration automatically and shows a confirmation message. This message confirms the completion of the setup process.
    Tip: If the Google signup tab closes before you finish, click Reopen Google signup to resume, or Cancel to stop registration.

View and manage Android Enterprise registration

View the registration details for your bound Android Enterprise, sync devices on demand, test the connection to Google, or unbind the enterprise. From the Main menu, go to Shared Services > Device Management > Integrations > Android.

The Enterprise Registration page shows an Android EMM Registration section with the following details:

  • Organization name and Organization ID: The enterprise name and Google resource ID.

  • Enterprise type: Managed Google domain or managed Google Play Accounts enterprise. Shows a dash if not yet available.

  • Google authentication: Whether Google authentication is required to enroll devices. Applies only to managed Google Play Accounts enterprises, and this row does not show for managed Google domain enterprises or if the value is not yet available.

  • Registration date, Last device sync, and Synced devices.

  • Status: For example, Connected.

From this page, a Device Management Administrator can click Sync devices to trigger an immediate sync, or any user can click Test connection to verify connectivity to Google.

Note: If your Android Enterprise uses managed Google Play accounts, a notice on this page recommends upgrading to a managed Google domain for stronger security and simpler administration. Upgrading is a Google-side action performed outside Device Management; the notice is informational only.

Edit Android Enterprise settings

Update the branding and contact information that Google shows to users during Android Enterprise enrollment.

  1. From the Main menu, go to Shared Services > Device Management > Integrations > Android.
  2. In the Enterprise settings section, update the Display name, Brand color, Logo URL, or Contact email fields as needed.
  3. (Optional) Update the Data protection officer or EU representative name, email, and phone fields.
  4. Click Save. To discard your changes instead, click Discard changes.

Unbind an Android Enterprise

Important: Unbinding an Android Enterprise removes the enterprise from Device Management and stops managing its devices. This action cannot be undone.
  1. From the Main menu, go to Shared Services > Device Management > Integrations > Android.
  2. Click Unbind.
  3. In the Unbind enterprise confirmation dialog, click Confirm.

Create an Android policy

The Android policy editor is a single page made up of the sections described in the following steps. Click View JSON at any time to preview the full policy body that Device Management assembles from the form.

  1. From the Main menu, go to Shared Services > Device Management > Android > Policies.
  2. If you have more than one Google Workspace configured, select the workspace from the Workspace list.
  3. Click Create Policy.
  4. In the New policy section, enter a Name and, optionally, a Description.
  5. In the Targeting section, select the computer group whose devices are eligible for this policy from the Limiting computer group list.
    Note: When multiple policies could apply to the same device, Device Management assigns the device to the eligible policy with the highest priority. If no policy other than the default policy matches the device, the device remains on the default policy.
  6. (Optional) Configure an Additional filter to further narrow which devices in the limiting computer group receive the policy.
    1. Click Add Row or Add Group.

    2. (Group filter only) Select whether to apply a Boolean AND or OR to all the filters in the group.

    3. Select an option for the first or only targeting filter:

      Computer Group:

      The dropdown lists all the computer management groups and filter groups that you have permissions to access. You can type a string in the typeaheads field to filter the list if it is long. Select a computer group.

      Sensor:
      1. Perform one of the following sub-steps to specify each sensor:
        • Start typing the sensor name in the Filter by Name text field. The typeaheads dropdown list below the field shows a list of sensors that match your entry. Select a sensor and click Apply Apply.

          Substring matching: To match only part of a result string, select the Substring checkbox, enter the Start position (where 0 is the first position), and enter the number of characters (Length). The following example matches results from the Installed Applications sensor where the first two characters match the string ts. For a multi-column sensor, you cannot apply the Substring filter to a specific column, only across all the columns (Row Filter).

        • Click Browse All Sensors to open the Browse Sensors dialog and select a sensor. The bottom of the dialog displays the Sensor Description.
      2. Specify the filter operator and value. For more information about filter operators, see Reference: Filter operators.
      3. (Optional) Click Advanced Sensor Options below the filter to configure additional settings. For more information, see Advanced sensor settings.

    4. Click Apply Apply.

    5. (Optional) Click Add Row or Add Group to specify additional targeting filters.

  7. In the Applications section, click Add apps from managed Google Play to add apps to the policy. The managed Google Play interface opens; search for and select the app you want to add, then configure its install type, managed configuration, and, if applicable, allowed release tracks.
    Tip: If you know an app's package name, you can add the app directly instead: enter the package name in the Add by package name field and click Add.
    Note: App metadata, including the release tracks available for an app, comes from the app's managed Google Play listing. Managed configuration values are set through the managed Google Play interface, not through the Advanced settings section.
  8. In the Password policies section, turn on Device password or Work profile password and set the password requirements for that scope. A scope that is turned off, or that has no requirements set, is not configured, and devices fall back to the Android defaults.
  9. In the Settings section, use the search field to match a setting by its friendly name, AMAPI key, or description, or expand a category (for example Apps, Device, General, Network, Security, or Work Profile) to browse and configure its settings. Categories and their settings are supplied by the Android Management API schema and can change as Google updates that schema.
    Note: Turn off Only show configured settings to browse settings you have not yet configured.
  10. (Optional) In the Advanced settings section, edit policy settings that the form does not surface, such as lists of objects, as raw JSON. These values are merged into the policy body alongside the settings you configure in the other sections.
  11. Click Create policy. To discard your changes instead, click Discard changes.

Reorder Android policy priority

Reorder the priority of multiple Android policies at once by dragging them into the order you want, rather than editing each policy individually.

  1. From the Main menu, go to Shared Services > Device Management > Android > Policies.
  2. Click Prioritize policies.
    Note: Prioritize policies is available only when at least two policies in the group have targeting configured.
  3. Drag policies into the order you want. The policy at the top has the highest priority.
  4. Click Save priorities.

Edit an Android policy

For descriptions of the sections and fields in the policy editor, see Create an Android policy.

  1. From the Main menu, go to Shared Services > Device Management > Android > Policies.
  2. If you have more than one Google Workspace configured, select the workspace from the Workspace list.
  3. Click the policy name.
  4. Update the policy settings and click Save policy. To discard your changes instead, click Discard changes.

Duplicate an Android policy

Duplicate an existing Android policy to use as the starting point for a new policy.

  1. From the Main menu, go to Shared Services > Device Management > Android > Policies.
  2. In the row for the policy you want to duplicate, click Duplicate duplicate.
  3. Update the policy name, settings, and targeting as needed, and then click Save.

Delete an Android policy

Important: Deleting a policy removes it from all devices it is applied to. This action cannot be undone.
  1. From the Main menu, go to Shared Services > Device Management > Android > Policies.
  2. Click the policy name.
  3. Click Delete trash.
  4. Click Confirm.

Create an enrollment token

Generate an enrollment token to enroll Android Enterprise devices. Every token enrolls devices onto the system default Android policy; use targeting to move a device onto a different policy after it enrolls. For more information, see Create an Android policy.

  1. From the Main menu, go to Shared Services > Device Management > Android > Enrollments.
  2. Click Create enrollment token.
  3. On the Enrollment token step, in the Name & description section, enter a Name and, optionally, a Description. These fields are for your reference only and are not shown to the end user.
  4. In the Enrollment type section, select the ownership and management mode for devices that enroll with this token:
    • Fully managed (Android 6.0 or later): The entire device is managed with no personal profile. Use for rugged handhelds, field devices, and standard corporate phones.
    • Dedicated device (kiosk) (Android 6.0 or later): Single- or limited-use devices with no user account, such as point-of-sale terminals, checkout tablets, digital signage, and warehouse scanners.
    • Work profile (company-owned) (Android 11.0 or later): A corporate-owned device with a managed work profile alongside a separate personal space. Best for executive or hybrid-use devices.
    • Work profile (BYOD) (Android 7.0 or later): An employee-owned device gets an isolated managed work profile; personal apps and data stay untouched.
  5. In the Validity & reuse section, enter a value and unit (minutes, hours, days, or years) in Valid for to set how long the token can be used to enroll devices. The default is 30 days.
  6. (Optional) Turn on One-time use to automatically revoke the token after its first successful enrollment.
  7. Click Continue.
  8. On the Provisioning options step, configure any of the following optional settings. These settings are encoded directly into the enrollment token and its QR code.
    • Setup experience: Skip education screens, Leave all system apps enabled, Keep screen on during provisioning, and Skip device encryption.
    • Regional settings: Locale and Time zone to set on the device at first boot.
    • Connectivity for provisioning: Turn on Pre-configure Wi-Fi to embed Wi-Fi credentials in the QR code so the device connects automatically at first boot, and, optionally, Allow mobile data fallback to bring up the SIM or eSIM if the configured Wi-Fi is unreachable.
    • Additional data: Enter up to 1,024 characters of custom metadata to forward to enrolling devices, such as a team or site tag.
  9. Click Create token.
  10. On the Enroll step, share the QR code, token value, or enrollment link with the user or IT team responsible for device setup, and then click Done.
    Note: The token value and QR code are retrieved from Google each time you view them and are not stored by Device Management.

Enroll a device with a token

After you create an enrollment token, use it to enroll a factory-reset or out-of-box Android device.

  1. Factory-reset the device. New, out-of-box devices are already ready to enroll. A previously used device must be factory reset to return to the out-of-box setup wizard, which Android device-owner provisioning requires.
  2. On the Welcome screen for the device, tap the screen six times in the same spot to open the QR scanner. On Android 7 and later, you can instead type afw#setup on the Google sign-in screen.
  3. Point the camera at the enrollment token QR code. The device installs Android Device Policy, downloads its policy, and finishes setup in a managed state.

Policy enforcement begins immediately after enrollment. The device appears in the device inventory within about a minute.

Link a zero-touch account for Android devices

Zero-touch enrollment lets you enroll company-owned Android devices without scanning a QR code or manually entering an enrollment token. A device that you purchase from a zero-touch reseller partner automatically downloads your configuration and enrolls in Android Enterprise management the first time the device starts.

Note: Zero-touch enrollment requires an Android Enterprise that is already registered and a Google zero-touch customer account, which your device reseller sets up on your behalf.
  1. From the Main menu, go to Shared Services > Device Management > Android > Enrollments.
  2. Click the Zero-Touch Portal tab.
  3. In the Link your zero-touch account to your EMM provider section, click Next.
  4. Sign in with the Google account that you gave your reseller when your zero-touch account was created.
    Important: Use the Google account associated with your organization, not a personal Gmail account. This account is not necessarily the same account that you use to sign in to Google Workspace or to register your Android Enterprise.
  5. Select the zero-touch account that you want to link to Device Management and click Link.

After you link your account, you can build and manage zero-touch device configurations directly in the embedded portal. The details panel for a company-owned enrollment token includes a zero-touch payload that you can copy or download and use when you build a device configuration in the portal. Devices provisioned through that configuration enroll using the settings for that token. To create or manage tokens, see Create an enrollment token.

Tip: If the embedded portal does not load, click Reload portal, or manage zero-touch enrollment directly at partner.android.com/zerotouch.

For more information, see Google Android Enterprise Help: Zero-touch enrollment for IT admins.

Clone an enrollment token

Clone an existing enrollment token to use its settings as the starting point for a new token.

  1. From the Main menu, go to Shared Services > Device Management > Android > Enrollments.
  2. In the row for the token you want to clone, click Clone clone.
  3. On the Enrollment token step, update the name, enrollment type, or validity settings as needed, and then click Continue.
  4. On the Provisioning options step, update the provisioning options as needed, and then click Create token.

Delete an enrollment token

Delete an enrollment token to prevent new devices from enrolling with that token. Devices already enrolled are not affected. A deleted token remains visible in a revoked state until the enterprise is unbound.

  1. From the Main menu, go to Shared Services > Device Management > Android > Enrollments.
  2. In the row for the token you want to remove, click Delete trash.
  3. Click Confirm.