Skip to content

Policy Options

Michael Shaffer edited this page Feb 27, 2026 · 3 revisions

Policy and integration options

The integration’s Options flow provides a menu-driven UI to configure General and Enterprise settings, plus kiosk and device policies, and push policy changes to your enterprise. It fetches the live policy and enterprise when you open it, so the form reflects what’s currently set.


Opening the Options flow

  1. Go to SettingsDevices & ServicesIntegrations.
  2. Find Android Management API and click Configure on its card.

You’ll see a menu with several categories. Configure General (scan interval, default policy for QR code, Clear app data packages) and Enterprise (identity, notifications, contact, terms, sign-in) as needed, then use the policy categories and Apply Policy to send policy settings to the enterprise.


Categories

Category What you can configure
General Scan interval (seconds) for API polling, default policy ID for the enrollment QR code, and optional package names for the Clear app data button (one per line or comma-separated).
Enterprise Identity (display name, primary color, logo URL + SHA-256 hash), Notifications (Pub/Sub topic, enabled types), Contact (email, DPO, EU representative), Terms & Conditions, Sign-in (URL, token tag, allow personal usage). Apply saves enterprise settings to the API.
Kiosk App Primary kiosk app package name, install type, auto-update mode, lock task allowed, default permission policy, and additional force-installed apps (one per line).
Kiosk UI Power button behavior, system navigation, device settings access, status bar, and system error warnings.
Display Screen brightness mode and level (0–255), screen timeout mode and duration.
Security & Privacy Developer settings, keyguard, camera, screen capture, location mode, untrusted apps, Google Play Protect, app verification.
Network & Connectivity Wi-Fi, Bluetooth, Bluetooth config, VPN, tethering, data roaming, mobile networks, cell broadcasts, network reset.
Device Restrictions Factory reset, install/uninstall apps, physical media, USB file transfer, volume, microphone, outgoing calls, SMS, add user, modify accounts, user icon, wallpaper, share location, credentials config.
System App auto-update policy, system update type, Play Store mode, status bar, auto time, skip first-use hints, max time to lock, stay on while plugged (AC/USB/Wireless), long/short support messages.
Device Reporting Control which diagnostic data devices report (via statusReportingSettings): software info (Android version, build, kernel, security patch), network info (IMEI, WiFi MAC, operator), memory info, display info. Enabling these populates sensors that may show "Unknown" when disabled.
Apply Policy Enter the policy ID (e.g. policy1) and push all configured settings to the enterprise in one step.

Policy ID

  • The policy ID is the name of the policy in your enterprise (e.g. policy1, kiosk-policy).
  • You can create a new policy by entering an ID that doesn’t exist yet; the API will create it. To change an existing policy, use its current ID.
  • The Options flow does not create the enterprise; it only creates or updates a policy under the enterprise you configured in the integration.

Using policies on devices

  • After applying a policy, assign it to devices (or enrollment tokens) via the Android Management console or the API.
  • The integration’s Enrollment QR Code and create_enrollment_token service can bind a policy to new enrollment tokens so newly provisioned devices get that policy.

Services vs Options flow

  • Options flow – Best for interactive, form-based editing; General, Enterprise, and all policy categories are available and the UI is pre-filled from the live policy and enterprise.
  • Services – Use from automations, scripts, or Developer Tools:
    • android_management_api.set_policy – Raw JSON policy body.
    • android_management_api.set_kiosk_policy – Structured kiosk fields (primary app, additional apps, display, security, etc.).
    • Device-level: clear_app_data, start_lost_mode, stop_lost_mode, patch_device, wipe, add_esim, remove_esim, request_device_info, issue_command, reset_password.
    • Enterprise/API: list_policies, list_enrollment_tokens, delete_enrollment_token, get_operation, get_enterprise, patch_enterprise, create_web_token.

See the README – Services for the full list of service parameters.

Clone this wiki locally