Registering Android with Workspace ONE UEM

To start managing Android devices, you’ll need to register Workspace ONE UEM as your Enterprise Mobility Management (EMM) provider with Google. The Getting Started page in the Workspace ONE UEM console provides a step by step solution to help configure the enterprise management tools needed to secure and manage your device fleet.

There are two ways to configure Android: by using a Managed Google Play account (preferred) or using a managed Google domain (recommended by Google for G Suite customers). A Managed Google Play account is used when your business does not use G Suite and allows for multiple configurations of Android within your organization using a personal Google account. Workspace ONE UEM manages this account and requires no Active Directory sync or Google verification.

Setting up Android using managed Google domain (G Suite) requires your enterprise to set up a Google domain and must follow a verification process to prove that you own the domain. This domain can only be linked to one verified EMM account. The setup includes creating a Google Service Account and configuring Workspace ONE UEM as your EMM provider. Consider creating a Google account specifically for Android for your organization to use so as not to conflict with any existing Google accounts.

Important: When you create a Google account for the managed Google domain it is considered the administrator account for your domain. Consider adding additional users (Google accounts) to help you manage tasks in managed Google Play. Adding more Google accounts is useful in the event the primary Google account becomes inactive. If this happens, you can still access the managed Google domain and avoid unwanted behaviors. Furthermore, do not delete the Google Admin Account or EnterpriseID associated to your Android EMM Registration. Deleting may result in Android EMM Registration errors or failure.

You can create and assign roles for your managed Google domain. See Assign Roles in Enterprises.

The Google Service Account is a special Google account that is used by applications to access Google APIs and is required when setting up Android using the managed Google domain method for your business. The Google Service Account credentials are automatically populated when configuring Android Accounts when registering using managed Google play account. If you encounter an error while setting Android Accounts, clear your settings in the Workspace ONE UEM console and try again or create the account manually. For Google Accounts, consider creating your Google Service Account before either setup method.

To change the Google account or make changes to your admin settings, you have to unbind the account from the Workspace ONE UEM console.

Important: The setup of Android includes the integration of third-party tools that is not managed by VMware. The information in this guide for the Google Admin Console and Google Developer Console has been documented with the available version as of January 2018. Integration with a third-party product is not guaranteed and is dependent upon the proper functioning of the third-party solutions.

Register Android EMM with Managed Google Play Account

The Workspace ONE UEM console allows you to complete a simplified setup process to bind the UEM console to Google as your EMM provider.

Prerequisites

If the Android EMM Registration page is blocked, make sure you enable the Google URLs in your network architecture to communicate with internal and external endpoints.

Procedure

  1. Navigate to Getting Started > Workspace ONE > Android EMM Registration.

  2. Select Configure and you are redirected to the Android EMM Registration page.

  3. SelectRegister with Google. If you are already signed in with your Google credentials, you are directed to the Google “Get Started” page.

    If your organization uses more than one domain, you will need to register separate domains.

  4. Select Sign In if you are not already, and enter your Google credentials and then select Get Started.

  5. Enter your Organization Name. The Enterprise Mobility Manager (EMM) provider field populates automatically as VMware Workspace ONE UEM.

  6. Select Confirm > Complete Registration. You are redirected to the Workspace ONE Console, and your Google Service Account credentials are automatically populated.

  7. Select Save > Test Connection to ensure the service account is set up and connected successfully.

If your settings in the UEM console have been cleared, when you navigate to register with Google, you will see a message that prompts you to complete setup. You are redirected back to the Workspace ONE UEM console to finish setup.

Register Android EMM with Managed Google Domain (G-Suite Customers)

Setting up your account with managed Google domain requires the organization to set up a Google domain if they do not already use one. You will also complete several manual tasks, such as verifying domain ownership with Google, obtaining an EMM token, and creating an enterprise service account to use this type of setup.

  1. Navigate to Getting Started > Workspace ONE > Android EMM Registration.

  2. Select Register to be redirected to the Android Setup Wizard to complete three steps:

    1. Generate Token: Obtain your enterprise token by registering your enterprise domain with Google.

    2. Upload Token: Enter the EMM Token into the Android setup wizard.

    3. Setup Users: Configure how users will be created for your entire enterprise.

  3. Select Go To Google. You are redirected to the G Suite site.

  4. Register your enterprise and verify your domain.

Setup Google Service Account

The Google Service Account is a special Google account that is used by applications to access Google APIs. You should create this account after you generate your EMM token so you can upload all information at one time.

  1. Navigate to the Google Cloud Platform- Google Developers Console.

  2. Sign in with your Google credentials.

    The Google Admin credentials do not have to be associated with your business domain. Consider creating a Google account specifically for Android for your organization to use so as not to conflict with any existing Google accounts.

    Note: Consider adding additional accounts so that if one account becomes inactive, you will have additional accounts to log in and access your Google Service Account.

  3. Use the drop-down menu from the Select a project menu and select New project.

  4. Enter a Project Name to create your API project in the New project window. Consider using Android EMM-CompanyName as the naming convention.

  5. Agree to the terms and conditions and select Create.

    Your project generates and the Google Developer Console redirects you to the API Manager page.

  6. Select Enable APIS and Services for Android from the APIs & Services Dashboard.

  7. Search and enable the following APIs: Google Play EMM API and Admin SDK.

    After creating your project and enabling APIs, create your service account in the Google Developer’s Console.

  8. Navigate to APIs & Services > Credentials > Create Credentials > Service Account Key > New Service Account.

  9. Define the Service Account name for your service account. Consider following the Android naming convention and be sure to note the name you choose as you will need it in further steps.

  10. Use the drop-down menu to select the Role > Project as Owner.

  11. Select the Key Type as P12.

  12. Select Create. The identity certificate gets automatically created and downloaded to your local drive. Be sure to save your identity certificate and password for when you upload the certificate into the Workspace ONE UEM console.

  13. Select Manage service accounts from the Service Account Keys list which opens the Service Accounts page.

  14. Select the menu button (three vertical dots) beside your service account and select Edit.

  15. Select Enable G Suite Domain-wide Delegation.

  16. Enter a Product name in order change settings for G Suite Domain. Consider using AndroidEMM-CompanyName as the naming convention.

  17. Select Save.

  18. Select View Client ID under the Domain Wide Delegation field. The details of your service account displays. From here, you will leave the Developer Console and input your credentials into the Google Admin Console.

    Be sure to save your client ID before navigating away from the Developer’s Console. You will also use these credentials in the Workspace ONE UEM console when you upload your EMM token.

Setup Google Admin Console

The Google Admin Console is where administrators manage Google services for users in an organization. Workspace ONE UEM uses the Google Admin Console for integration with Android and Chrome OS.

The Manage API client access page allows you to control custom internal application and third-party application access to supported Google APIs (scopes).

  1. Login to the Google Admin Console and navigate to Security > Advanced Settings > Manage API Client Access.

  2. Fill in the following details:

    Setting Description
    Client Name Enter the Client ID generated when creating your Google Service Account
    One or More API Scopes Copy and paste the following Google API scopes for Android: Android: https://www.googleapis.com/auth/admin.directory.user
  3. Select Authorize.

Generate EMM Token

Your unique EMM token binds your domain for Android management to the Workspace ONE UEM powered by AirWatch. You are directed to the G Suite setup site after selecting Go to Google from the previous task to begin.

The steps in outlined in task are for generating an EMM token for a new domain. The task to generate the EMM token is different depending on if you are registering with a new or existing domain.

If you are generating a token for an existing domain, simple navigate to Security > Managed EMM Provider for Androidand select Generate EMM Token and proceed to step 5.

  1. Complete the following fields:

    1. About You – Enter your admin contact information.

    2. About Your Business – Fill out your company information.

    3. Your Google Admin Account – Create a Google admin account.

    4. Finishing Up – Enter the security verification data.

  2. Select Accept & create your account after reading and agreeing to terms set by Google.

  3. Follow the remaining prompts to Verify domain ownership and Connect with your provider. Once verified, this becomes your managed Google domain.

    To verify domain ownership, the following options are available: add a meta tag to your homepage, add a domain host record, or upload HTML file to your domain site. Configure settings for the available options.

  4. Select Verify to proceed. If this process is successful, the Connect with your provider section displays your EMM token. This token is valid for 30 days. If you encounter problems during this step, refer to Google support using the number and unique PIN listed.

  5. Copy the generated EMM token and select Finish.

Workspace ONE UEMrecommends that you create your Google Service Account before you return to the Workspace ONE UEM console to upload the EMM token, so that you can upload all credentials at one time.

Generate EMM Token for Existing Domain

Your unique EMM token binds your domain for Android management to the Workspace ONE UEM powered by AirWatchWorkspace ONE UEM powered by AirWatch. For existing domain, you are directed to the Google Admin Console to generate the EMM token. The steps in outlined in task are for generating an EMM token for an existing domain. The task to generate the EMM token is different depending on if you are registering with a new or existing domain. For information on generating an EMM token for a new domain, see . Log into the Google Admin Console using your Google Admin credentials.Navigate to Security > Managed EMM Provider for Android and select Generate EMM Token.Copy and paste the token into the Workspace ONE UEM console.

The steps in outlined in task are for generating an EMM token for an existing domain. The task to generate the EMM token is different depending on if you are registering with a new or existing domain.

  1. Log into the Google Admin Console using your Google Admin credentials.

  2. Navigate to Security > Managed EMM Provider for Androidand select Generate EMM Token.

  3. Copy and paste the token into the Workspace ONE UEM console.

Upload EMM Token

Enter the information you obtained from Google during registration. This includes the registered domain, Enterprise Token, and the Google Admin Email Address you created.

You can also get your enterprise token by logging into https://admin.google.com with your Google Admin Email Address under Security→Manage EMM Provider for Android.

  1. Navigate to Getting Started > Workspace ONE > Android EMM Registration. If you have closed the window or are not automatically redirected back to Workspace ONE UEM.

  2. Select Register to be redirected to the Android Setup Wizard.

  3. Select Upload Token from the Android Setup wizard.

    This is also referred to as the Enterprise Token.

  4. Complete the following fields:

    Setting Description
    Domain Domain claimed for enabling Android associated with your enterprise.Important: If your domain has already been registered with another EMM provider, you will not be allowed to upload a new EMM token.
    Enterprise EMM Token Token generated in Google Admin Console.
    Google Admin Email Address This is the admin account used for domain registration, Google Developers Console, and the Google Admin Console.
    Client ID Client ID generated when creating your Google Service Account. This ID is retrieved from the Google Developer Console Settings.
    Google Service Account Email Address Email generated from Google Service Account creation. This ID is retrieved from the Google Developer Console Settings.
    Certificate ID Upload the P12 certificate created when generating Google Service Account. Requires a password. This ID is retrieved from the Google Developer Console Settings.
  5. Select Next to set users.

Setup Users

All users in your enterprise using Android need Google accounts created to connect with their devices. This final step in the Android EMM Registration wizard allows you to determine which setup method you prefer for creating users.

You have two options for creating users under Android:

  • Allow Workspace ONE UEM to automatically create Google accounts during enrollment.
  • Create users manually by logging into the Google Admin Console or using the Google Active Directory Sync Tool (GADS).

The format for the user name is username@<your_enterprise_domain>.com.

  1. Enable one of the following options to determine how users are set up:

    • Create Google account during enrollment based on enrolled user’s email address.
    • Use SAML for Authentication - Enable SAML for the enrollment process.
    • Use SAML for Google Account Authentication - To use this method, configure single sign-on by navigating to Security > Single sign on in the Google Admin Console. If auto create users is not enabled with one of the above methods, the Workspace ONE UEM console directs you to the alternative method of creating Google accounts by the Google Active Directory Sync Tool or the Google Admin Console.
  2. Use the Test Connection option which checks for proper communication with Google.

  3. Select Save.

Creating Android Enrollment Users

VMware suggests that you create users for Android automatically during enrollment. The Android setup wizard allows you to specify if you want to automatically create user accounts during enrollment, and if so, to use SAML to authenticate the accounts. If you have not set up SAML previously, the wizard will display a link that directs you to configure your settings.

Creating Users Automatically

  1. Select Yes to Create Google accounts during enrollment based on enrolled user’s email.

  2. Select Yes to Use SAML endpoint to authenticate accounts.

    If you have not setup SAML, the wizard will prompt you to configure SAML authentication settings.

  3. Select Yes to Use SAML for Google Account Authentication which requires you to configure single sign-on in the Google Admin Console.

  4. Select Save to complete Android setup.

Creating Users Manually

You can manually create user accounts for your entire enterprise outside of the Workspace ONE UEM console by either using either the Google Cloud Directory Sync (GCDS) tool or the Google Admin Console. To access the Google Admin Console , you can click the link provided in the setup wizard. You will need to contact Google for further instructions on how to use the console.

The GCDS method requires you to use similar settings as the AirWatch Directory Services. Access the Directory Services settings by navigating to Groups & Settings ► All Settings ► System ► Enterprise Integration ► Directory Services.

You can access the GCDS tool by clicking the link posted in the setup wizard or by downloading the tool directly to your computer from the Google Support page.

The GDCS tool allows you to manually create Google accounts for every employee in your enterprise in one bulk creation. The accounts are created by synchronizing with the information stored from your VMware Workspace ONE Directory Services.

Note: The information discussed here is up to date as of latest version of GCDS v4.4.0 for March 2017.

  1. Select the link from the setup wizard or download the GDCS tool directly from Google.

  2. Open the tool from your desktop and select User Accounts and Groups to synchronize.

  3. Select the Google Domain Configuration tab and enter the following:

    1. Enter Primary Domain Name.

    2. Select to Replace domain names in LDAP email address (of users and groups) with this domain name. This will ensure that all user email addresses match the domain name.

  4. Select the Authorize Now button.

  5. Follow the steps to continue the authorization process when the Authorize Google Apps Directory Sync dialog displays.

    1. Sign-in to your Android admin account.

    2. Enter the verification received in email.

    3. Select Validate to confirm these settings.

  6. Select the LDAP Configuration tab to enter the connection settings to sync the AirWatch Directory Services with Google. From here, you can enter the same settings saved in the AirWatch Directory Services to sync with this tool. To access these settings, navigate to Groups & Settings ► All Settings ► System ► Enterprise Integration ► Directory Services.

  7. Select Test Connection. If the sync is successful, this will auto create the linked Active Directory accounts and corporate Google accounts in Google.

    You will be directed back to the setup wizard to finish setup.

Unbind Domain from Workspace ONE UEM

You can unbind the Android admin account in the Workspace ONE UEM console in the event you need to make a change or change Google accounts.

  1. Navigate to Devices > Device Settings > Devices & Users > Android > Android EMM Registration

  2. Select Clear Settings from the Android EMM Registration page.

check-circle-line exclamation-circle-line close-line
Scroll to top icon