Configuring Android For Work Using the CLI

The following commands are used to enter the Google Android identifiers provided with licensing by Pulse Secure.

To set up AFW enterprise ID, type the following command:

p1 domain property set afw_enterprise_id <your_licensed_Google_enterprise_id>

To set up AFW domain admin user, type the following command:

p1 domain property set afw_domain_admin_user <your_licensed_Google_admin_user>

To identify the type of account (either afw or google), type the following command:

p1 domain property set afw_enterprise_type <account_type>

Note: Set this to afw unless instructed otherwise.

Check the current value of all domain properties by performing the following command:

p1 domain property list

To add Google ESA (Enterprise Service Account) credentials provided by Pulse Secure, type the following command:

pws config set esa

When prompted, copy and paste the ESA credentials.

After these configuration changes, perform a restart to use new settings:

services restart