Upgrade user accounts on devices

Upgrading a user account on a device involves migrating it from a managed Google Play Account to a managed Google Account. This process shifts the user's identity from a device-centric, non-personal account to their corporate Google identity, which is the foundation for a more integrated user experience across all Google services.

Overview

The primary goal of this upgrade is to provide customers with enhanced features, such as improved user management through the Google Admin console, stronger security, and access to Google services and AI capabilities like Gemini.

Key benefits of upgrading user accounts:

  • Works with all Google services: Unlike managed Google Play Accounts, this new identity works seamlessly with all Google services, including Google Drive, Docs, and Meet. It also supports device backup when enabled by the IT admin.

  • Seamless user experience: Through single sign-on (SSO) integration, users are automatically signed in to their corporate environment and all their Google services, such as Gmail.

  • Direct identity control: The organization can directly control the identity lifecycle through manual, automated, or sync-based methods.

  • Familiar user identifier: For better visibility, the new account uses the same email address that the user already knows and uses.

Prerequisites

  1. The customer's Google Workspace Domain must be domain verified. It simplifies user management for the IT admin and also allows them to sync directory.

  2. Managed Google Accounts for each of the users in the intended account upgrade must exist prior within the admin console.

API changes

This section outlines the key API changes within the policy and non-compliance flow to support user upgrade. User upgrade adds a new field within enterprises.policies, and adds new enums in enterprises.devices to support new non-compliance reasons.

Account upgrade process

To upgrade an account, an IT admin updates a device's policy to require a managed Google Account for authentication. This is done using the workAccountSetupConfig and setting the authentication type to GOOGLE_AUTHENTICATED.

The optional requiredAccountEmail parameter allows the IT admin to specify the exact account the user must use to successfully complete the setup.

Depending on the configuration and whether the required account already exists on the device, the user will be prompted to add either a specific managed Google Account or any valid managed Google Account or the upgrade happens automatically in the background.

Upon completion, the new managed Google Account becomes the primary one for device management, replacing the old managed Google Play Account.

New non-Compliance reasons

New non-compliance reasons have been added to allow the IT admin to trigger policy enforcement based on different scenarios encountered during the user's login.

  • If the account entered by the user does not match the requiredAccountEmail, an error message is immediately shown on the screen.

  • If the IT admin accidentally specifies a required email address that is not part of the enterprise domain, the non-compliance reason REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE is returned.

  • If no requiredAccountEmail is specified and the user tries to enter an account which is not part of the enterprise, the non-compliance reason NEW_ACCOUNT_NOT_IN_ENTERPRISE is returned.

User upgrade scenarios

These user journeys illustrate common scenarios and outcomes when implementing and using the user upgrade feature. They cover experiences from both the IT admin and end-user perspectives. All scenarios assume the device is initially enrolled with a managed Google Play Account.

We recommend that you familiarize yourself with these journeys to better support your customers and validate them with your solution.

Policy enforcement and compliance

Android Device Policy includes built-in compliance actions that help guide users through required upgrades and other policy updates. These actions also provide IT administrators with the tools to manage remediation for non-compliant devices.