If you've already provisioned a device and need to change its settings, you can create a Compliance Policy. After creating a Compliance Policy, you can apply it to a Group or single device.
Think of Compliance Policies as an "edit" of a Template.
In this article:
-
Creating a Compliance Policy
- Enter a Policy Name and Description
- Set Lock Screen Password
- Set Default App Permission Rules
- Set System Update Rules
- Configure Esper Settings Application
- Manage Android Settings Application
- Google Account Restriction
- Protect Device from Hard/Soft Factory Reset
- Lock Screen Configuration
- Safe Mode Login Configuration
- Factory Reset Configuration Control for Android Settings
- Notification Bar Configuration
- Screenshot Configuration
- Block External Hardware via USB Connectivity Configuration
- SMS Configuration
- Outgoing Calls Configuration
- Camera Access Configuration
- NFC Configuration in Policy
- Google Play Store Configuration
- USB Tethering Configuration
- Date and Time Configuration
- Block Application Uninstall Locally on the Device
- USB File Transfer Configuration
- Google Assistant Configuration
- Local Application Install Configuration
- Bluetooth Setting
- Allow List Configuration for Incoming and Outgoing Calls
- ADB Configuration
- Resetting to Default Settings
Creating a Compliance Policy
To create a new compliance policy, go Compliance Policy and click New Policy. Here you can create a new policy. The layout is the same as when you define a Compliance Policy in a Provisioning Template, but uniquely includes the name and description.
Enter a Policy Name and Description
Enter a unique name for the new Compliance Policy. Optionally, add a description.
Set Lock Screen Password via Policy
Specify the format for the lock screen password. The default is None.
If you choose alphabetic or alphanumeric, you must set a password length of at least 4 characters and up to 25. Use the up/down arrows to set the required password length.
- Alphabetic: Restricts acceptable password to only upper and lowercase alphabetic characters (A to Z, and a to z).
- Alphanumeric: Expands acceptable passwords to include numbers and special characters in addition to alphabetic characters.
- Numeric: Restricts acceptable passwords to only numbers.
During the initial set up, the end user will set the password.
The lock screen must be On in order to set Lock Screen Password rules. If you select either Alphabetic or Alphanumeric password rules, then the lock screen will be set to On by Esper automatically.
Set Default App Permission Rules via Policy
Default application permissions determine enforcement of the runtime-rules across all the apps on a device including Enterprise applications installed by Esper, in-ROM applications that are enabled, as well as applications installed via Managed Google Play. This ensures you can control the user experience on the device regarding how run-time permissions are granted.
There are three possible settings:
- Allow Automatically: This rule will grant all the permissions for any application requests without showing a prompt to the user. Allow automatically is the typical setting used for single-purpose solutions using a fully trusted, customer-supplied application.
- Ask User: This keeps the default behavior intact with regards to permission management. All applications on the device will show a prompt to the user to request permission. For example, each time before accessing a device module, all applications will prompt the user with a message such as “Allow application X to access Gallery? Allow/Deny. Ask user option might not be ideal in some solutions, especially Kiosk-based applications. It can help certain unusual situations dealing with App permissions— contact us directly to find out more.
- Deny Automatically: This rule will deny any permission request from any application on the device. The Console will not notify the user. You can grant permissions to applications individually from the Esper Console.
Set System Update Rules
The System updates option allows you to enforce a system update policy on the device when a system update is available via the device’s over-the-air (OTA) update service.
There are four possible settings:
- Update Automatically: This option will install any over-the-air (OTA) updates automatically as soon as they become available without user interaction. Reboots the devices when necessary.
- Postpone Installation: This option postpones installation of an OTA update for 30 days. After 30 days, the system will prompt the device user to install the update. Subsequent updates will also follow the same 30-day postponement. This is ideal when you need time to validate your solution against new system updates before they are installed.
- Windowed Installation: This option allows you to define a window of time during which the OTA update will be installed without user interaction. This option is ideal for devices with a known down period. A drop-down will appear to enable you to set the start and end times for the maintenance window.
- Disable Update: This option allows you to disable updates on the device. It is available for a limited set of OTA services that support this feature. If the device does not support disabling updates, it will default to Postpone Installation. Before setting this option, contact Esper to make sure the devices you plan to provision support this configuration.
Configure Esper Settings Application
Esper offers a custom settings application that gives device users access to a subset of the available Android settings. The Esper settings application is intended for use by technicians servicing a device locally. For example, to change the Wi-Fi access point for a device.
Enable the Esper Settings app toggle and then click on the Customize Settings App button to open the settings pane.
The Esper Setting application has two modes:
-
User Mode
-
Admin Mode
This application offers the following settings:
- Wi-Fi: Change the Wi-Fi access point used by the device. In Android 10 devices and above, it is recommended to enable GPS to view the network information on the device’s Wi-Fi screen. In the devices below Android 10, enabled GPS is needed to display scanned network information.
- Flashlight: Turn on the flashlight (aka "Torch") if the device has a camera flash LED.
- Auto-Rotation: Turn auto-rotation On or Off.
- Factory Reset: Perform a factory reset of the device, regardless of the compliance policy applied.
- Kiosk App Selection: Change the app that runs in kiosk mode. The device user can choose any installed app on the device to act as the kiosk app, with the Esper Console kept in sync on the configuration stats.
- Storage: Helps to grant permissions to any directories on the device. On devices running Android 10 or below, it is advised that the Console admins inform the users to grant permissions to the root folder. On Android 11 devices, permission cannot be granted to the root folders and download folder.
- Esper Branding: Turn Off the Esper logo on the 'Home' screen.
- About: Supplies information regarding the tenant name the device is enrolled in, in case the customer has access to multiple Esper tenants.
- Mobile Data: Access mobile data on the device.
-
Accessibility Settings: Customize the device's accessibility settings. Available for Android 9 devices and below. You can further customize these settings by clicking Customize accessibility settings.
You’ll then have the option to choose access to the following accessibility settings. Use the right or left menu to select.
Some accessibility settings can also be enabled via JSON. See Accessibility JSON Settings for more information. - Clear App Data: Clears the data and cache for a particular application.
- Display: Manage screen rotation, screen brightness and screen timeout.
- Sound: Manage ringtone, alarm, device volume and the notification volume.
- Reboot: Ability to reboot the device.
- Keyboard: Navigate to Android settings on the Android 8.1 and lower devices to change the keyboard settings.
- Accessibility: Navigate to Android settings on the Android 8.1 and lower devices to change the accessibility settings.
- Input Selection: Navigate to Android settings on the Android 8.1 and lower devices to change the input selection for the device.
-
Bluetooth: Navigate to Android settings application on the Android 8.1 and lower devices to change the Bluetooth setting.
The scan button on the bottom right will allow searching and show nearby devices. Click the Connect button to pair the device, and the connection will happen immediately. You can connect only non-A2DP devices like headphones, mouse, and keyboards and can’t connect phones and laptops. Note: Bluetooth Scan support requires location to be turned ON. It is always advised to pair and use one device only. If another device is needed, delete and unpair the old device before connecting the new one.
- Language: Navigate to Android settings on the Android 8.1 and lower devices to change the language setting.
- Date and Time: Navigate to Android settings on the Android 8.1 and lower devices to change the date and time for the device.
Users have the ability to add or remove settings in both modes.
Admin Mode is password protected to prevent unauthorized access. This password controls access to the hidden dock available in kiosk mode, the Esper Settings app, and serves as the PIN used for IMEI-based provisioning via AfW. The password is alphanumeric and can have 1 to 10 characters.
The default password is 1234. It is possible to set up a Template without a password for these features, or just leave the default password; Esper strongly recommends setting up a more complex password for stronger security. The same password will be set for all devices provisioned using the template
Open Esper Settings or Wi-Fi settings directly
See App Intents to learn more.
Manage Android Settings Application via Policy
This setting will display the icon for the default Android settings application on the Home screen of the device. Clicking this icon will take the user to the default Android settings. Depending on the other configurations set by the Compliance Policy, some options may be disabled to the user. Just by switching On/Off via console users can control it on the device.
Google Account Restriction via Policy
This setting enables you to restrict the number of Google accounts that can be added on the device and used with Google apps like Gmail, Google Play Store, and YouTube. By default, any number of accounts can be added to a specific device; this setting restricts this number. For example, if you set this setting to two, only two accounts will be permitted on the device, further addition (or deletion) of accounts will not be possible unless a different compliance policy is reapplied.
Protect Device from Hard/Soft Factory Reset
Factory Reset Protection (FRP) places an auto-lock on a GMS-certified device if a user factory resets it with soft or hard keys. FRP will auto-lock the device and keep it locked until a pre-authorized Google account ID is entered. Learn more about Factory Reset Protection with a Google Account ID.
When you turn On the FRP button in the Provisioning Template, you’ll need to pick a Google account to authorize future device unlocks. Your chosen Google Account ID will reverse any future auto-lock events triggered by the user for all devices where this policy is applied.
You'll need to provide both the Google ID and the email address associated with the ID.
Enabled or Disabled Settings
Lock Screen Configuration
The lock screen template setting enables the default lock screen to be displayed whenever a device screen times out, according to the default timeout specified in the Settings section. If this is On, the device user will have the option to set the password. The users must enter a password that conforms with the rules.
Safe Mode Login Configuration
When Safe-Mode login is On, users will be able to boot to Safe Mode on the device; when Safe-Mode login is Off, users will be unable to boot to Safe Mode.
Factory Reset Configuration Control for Android Settings
Factory Reset controls if users can perform a factory reset using the Android Settings App. When Factory Reset is off, the user will not be able to perform a factory reset on the device. This does not prevent a hard-key factory reset, see Factory Reset Protection to prevent hard-key factory reset.
Notification Bar Configuration v
If you want device users to swipe down to see the notification bar, set Notification Bar to on. If you don’t, set it off.
Notification Disabled
-
App running in Kiosk Mode: Only the Kiosk app will be visible along with the back key in the navigation bar. No status bar also.
-
App running in multi App Mode: The status bar will be visible along with the Navigation bar.
Notification Enabled
-
App running in Kiosk mode: The status bar will be visible along with the Kiosk app. No drop-down to view notifications.
-
App running in multi App Mode: The status bar and a notification bar will be shown along with a drop-down to show Notifications.
You may choose to leave this setting On if you request bug report submissions from device users. User bug report requests from Esper must be sent via the notification bar.
Screenshot Configuration
If you want device users to be able to take screenshots, set Screenshot to On. If you don’t, set it Off. Turning this setting off blocks users from taking a screenshot using a hard key sequence or available softkeys.
Block External Hardware via USB Connectivity Configuration
USB connectivity allows users to connect USB devices, such as flash drive, digital camera, mouse, or keyboard to the device. If you want device users to be able to connect other hardware to the device, set USB Connectivity to On.
SMS Configuration
SMS controls sending and receiving of SMS, or text messages. If SMS is turned off, the device will not send or receive text messages from any SMS application. Set SMS to On if you wish to enable sending and receiving of text messages.
Outgoing Calls Configuration
If you want device users to be able to make outgoing calls, set Outgoing Calls to On.
Camera Access Configuration via Policy
If you want device users to be able to use the camera, set Camera Access to On.
NFC Configuration in Policy
If you want device users to use near-field communication (NFC) On their devices when supported, set NFC to On; if you don’t, set it to Off. If any of your applications require NFC, make sure this setting is On.
Google Play Store Configuration via Policy
If you want device users to have access to your Managed Google Play Store, set the Google Play Store setting to On; if you don’t, set it to Off.
You’ll still be able to install any approved Google Play Store applications from Esper On if Play Store is turned Off. This only applies to GMS devices, as AOSP devices do not include Google Play Store support.
USB Tethering Configuration
USB tethering enables users to share a mobile connection to another device such as a laptop. If you’d like device users to share a mobile connection with other devices, set the USB tethering to On.
Date and Time Configuration
If you’d like device users to be able to set device date and time, set the Edit Date and Time setting to On.
Block Application Uninstall Locally on the Device
Setting Application Uninstall to On will block application uninstalls locally on the device and via Esper's cloud Console. Set it to off if you need to uninstall applications remotely.
USB File Transfer Configuration via Policy
If you’d like device users to be able to transfer files from the device using a USB cable or flash drive, set USB file transfer to On.
Google Assistant Configuration via Policy
If you’d like device users to be able to use voice command via Google Assistant on supported devices, set Google Assistant to On; if you don’t.
Local Application Install Configuration via Policy
This feature allows the installation of applications from unknown sources on the device. To enable this on the device, the user needs to follow these instructions. Settings > Apps and Notifications > Special App Permissions > Install Unknown Applications and choose the route they wish to install the applications from.
For example, if the device user chooses Chrome, they will be able to download and install applications from the Chrome browser on the device. If turned Off, the device user will not be allowed to install applications from any unknown sources.
Bluetooth Setting via Policy
If you would like the device user to use Bluetooth on the device, set the Bluetooth toggle button to On.
Allow List Configuration for Incoming and Outgoing Calls
Selecting allow all incoming and outgoing calls button will not block any caller.
Selecting the checkbox next to Restrict outgoing/incoming calls using a customized dialer opens up two checkboxes:
- Restrict incoming calls to uploaded contacts only
- Restrict outgoing calls to uploaded contacts only
You can add phone numbers or upload a CSV file of contacts to add to the allowed list only.
The following are some general guidelines on what the CSV should look like when uploading the CSV for Contacts.
- Download the CSV file attached to this article.
- Fill in the Contact's information according to the Header (e.g. Phone Number, Tag, Tag, Tag
- Be sure that the Country Code is included in the Phone Number (e.g., +1)
- Phone numbers should not include parentheses or hyphens (e.g. +18881234567)
- Tag should not contain any Numeric or special characters (e.g., hyphens, quotes, etc.)
- Upload the filled out CSV (make sure the header is included in the file)
- For Mac Users, you want want to alter the files End-Of-Line character to the Windows or Linux format.
ADB Configuration in the Policy
Android Debug Bridge (ADB) is a command-line tool that provides a Unix shell to communicate with an Android device. If the ADB option is checked in the device’s Compliance Policy, you may turn On ADB via Devices Device > Settings for a configurable time period. If the ADB option is unchecked in the Compliance Policy, ADB cannot be turned On from Settings.
Opening the device ADB port is required on most stock Android devices before the Esper agent can securely connect to the Esper Cloud for ADB debugging. Learn more about using ADB with Esper.
Resetting to Default Settings
You may reset these values to default at any time by clicking the Reset to Default button at the bottom of this panel.