With Android for Work, you can use the same Android device to run personal and work apps.

Android for work includes Google Play for Work, which you use to install the work apps on your device (your company must be enrolled in the Android for Work program and you must have a work profile on your device). That profile can be used to access apps that have been pre-approved by the IT administrator.

Contact your administrator to set up your personal device with Google Play for Work. They can help to install the correct work policy controller application, and register your device with the Android for Work domain.

Note: There can only be one Work profile on a device at a time. In that profile, you can have only one account, which must be your work account.

The steps below provide a guide to activate business apps and install them using Android for Work with Citrix XenMobile.

As a requirement, you have to follow the configuration guide:
http://blogs.citrix.com/2015/07/20/mobility-experts-android-for-work-with-citrix-xenmobile/

Pre-Requisites:

  1. Completed Afw and Xenmobile configuration
  2. UPN = Emailaddress for Android for Work domain
  3. Play Store work enabled and approved Application
  4. A device recommended by Google
    https://www.google.co.uk/work/android/features/devices.html

We can broadly categorize the flow into 4 stages:

  1. Google Play for Work enabled and approved Application
  2. Providing the app in XenMobile Enterprise Store
  3. At least than one policy for Android for Work have to be configured (Passcode)
  4. Enrollment

Google Play for Work enabled and approved Application Overview:

Google Play for Work is the new content marketplace for Android for Work. It allows you to select, purchase, and manage apps for your organization. You can create lists of approved apps and manage updates.

You can install any free or paid Google Play for Work apps from the approved list that is managed by your IT administrator. If needed, your IT administrator can install and uninstall apps for your device remotely. If your IT administrator installed an app, you may see a message that you can’t uninstall it because it was installed using an administration policy.

  1. Login in with you administrator account
    https://play.google.com/work
  2. Search and approve for you Business AppScreen Shot 2015-09-22 at 09.21.06
    Screen Shot 2015-09-22 at 09.21.22Screen Shot 2015-09-22 at 09.21.46

Providing the app in XenMobile enterprise Store for as a Android for Work App
add the app in XenMobile

Screen Shot 2015-09-22 at 09.35.35

Important: you have to enter the app idd (com.xxx.xx)

Screen Shot 2015-09-22 at 09.36.07

click “search” for finding the app

The app icon should be appear after a few seconds. By selecting/clicking the app detail information will be shown

Screen Shot 2015-09-22 at 09.36.31

Press next until you reached the delivery group assignments.

Choose your delivery group assignments and save.

Attention: The app has to be a defined as a required app, so please go the delivery group and change the configuration of the app.

Enrollment

Now you can enroll you device. The enrollment process is very easy so here are the complete steps

Download and install Citrix WorxHome from the Google Play Store on your device:

Screen Shot 2015-10-12 at 11.54.42  Screen Shot 2015-10-12 at 11.55.53

Screen Shot 2015-10-12 at 11.56.03

Screen Shot 2015-10-12 at 11.56.42

Open the WorxHome  App to start the enrollment and follow the steps on the display

Enter your server url and follow the instructions

Screen Shot 2015-09-28 at 09.50.30

Screen Shot 2015-09-28 at 09.50.42

Enter your credentials (UPN must be same as your email address)

Screen Shot 2015-09-28 at 09.51.06 Screen Shot 2015-09-28 at 09.51.14

After entering your credentials you will see that your  work profile will be setup.

If you will see an error message “The device or your server is not android for work enalbed”, please check your credentials and the server settings

Screen Shot 2015-09-28 at 09.51.22

Go ahead and Follow the instructions for creating your work profile on the device

Screen Shot 2015-09-28 at 10.02.15

Screen Shot 2015-09-28 at 10.02.24

Screen Shot 2015-09-28 at 10.02.40

Screen Shot 2015-09-28 at 10.02.47

Google android for work will redirect you to your xenmobile server for the mobile application management (MAM) part.

Screen Shot 2015-09-28 at 09.51.06

Screen Shot 2015-09-28 at 10.04.00

Screen Shot 2015-09-28 at 10.04.09

Screen Shot 2015-09-28 at 10.04.15

Your device is now sucessfully enrolled and all your configured mdm policies will be pushed to your device:

In this example the “Passode Policy”

Screen Shot 2015-09-28 at 10.04.58 Screen Shot 2015-09-28 at 10.05.12

Screen Shot 2015-09-28 at 10.05.21

Now you have access to your XenMobile Enterprise Store as well. Depends on your configuration you have to create your worx PIN first.

Screen Shot 2015-09-28 at 10.06.20

Screen Shot 2015-09-28 at 10.07.25Screen Shot 2015-09-28 at 10.07.46

On your device you will see your installed enterprise apps marked with a badge.

Screen Shot 2015-09-28 at 10.06.56    Screen Shot 2015-10-01 at 16.28.12

In your Play Store for Work (badged) you will find all by your company approved and installed application.

Screen Shot 2015-10-01 at 16.28.37

For double check you can open your Android for work account by using this link

https://accounts.google.com

And you should find your device in your XMS Device overview.