How to make the device connect to wifi after scan the QR for enrolling android device in Android Management API?

Viewed 163

I used to enroll an android device by DPC method. Now I am trying to switch to Android Management API method however I can't manage to make the device auto connect to WiFi after scan the QR code.

I am trying to configure wifi network as below but not work, after scan QR code it still ask me to connect to wifi network manually

"openNetworkConfiguration": {
"NetworkConfigurations": [
  {
    "Type": "WiFi",
    "GUID": "a0989e28-9c23-43e5-b5d3-9b37d86723a3",
    "WiFi": {
      "AutoConnect": true,
      "Passphrase": "YYY",
      "Security": "WPA-PSK",
      "SSID": "XXX"
    },
    "Name": "ABC"
  }
]

}

1 Answers
Related