Android WiFi Example Template
You can manage WiFi configuration on Android devices through a policy. Read this section to learn how to create a custom Android WiFi policy using a template from WebUI.
About this task
- From the WebUI select
- The WebUI MCM dashboard appears. Click Create Policy.
- From the list of available policy options, select Custom from Template.
- On the General Settings page, do the following:
- Enter Policy Name and Description.
- For Operating System, select Android.
- From the Assign Policy to Site drop-down, select a site to assign the policy.
- In the Templated Policy section, under
Select a Policy from Template drop-down,
select Android WiFi Example Template and edit the
necessary parameters.
{ "deviceRadioState": { "wifiState": "WIFI_ENABLED" }, "deviceConnectivityManagement": { "configureWifi": "ALLOW_CONFIGURING_WIFI", "wifiDirectSettings": "ALLOW_WIFI_DIRECT" }, "openNetworkConfiguration": { "NetworkConfigurations": [ { "GUID": "cc0b4c66-aa58-4c49-8bae-af927643cec0", "Name": "Simple Network", "Type": "WiFi", "WiFi": { "SSID": "{{SSID_NAME}}", "Security": "WPA-PSK", "Passphrase": "{{PASSWORD}}", "AutoConnect": true } }] }, "networkEscapeHatchEnabled": true, "wifiConfigsLockdownEnabled": true, "wifiConfigDisabled": true }
- Replace
{{SSID_NAME}}
in the template with your WiFi SSID. - Replace
{{PASSWORD}}
in the template with the actual WiFi password.
- Replace
- Click Save to save the Custom WiFi policy.
- Add the saved policy to a policy group for Android and deploy to MDM Server.