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"
}
]
}