Forum Discussion
How to deploy a Windows 10 VPN Profile? Meraki Client VPN (L2TP+PSK)
somesh_pathak we have ubiquiti router which only allow L2TP psk VPN. Can I ask if you have any idea to create EAP XML with L2tp PSK? I think we should ask for feature request. 🙂
ashokdangol We faced the same issue with connecting AO VPN with L2TP on AO VPN on AAD & Hybrid AAD join device and worked with MS for months and eventually concluded that L2TP will not work in these scenarios. However, we were able to achieve it using custom PS scripts. We created two adapters for the device tunnel & user tunnel. These scripts can be packaged as a win32 packages or can be transformed into XML for Intune VPN profile. You can refer to the excellent script from Richard Hicks to create your own custom XML - https://github.com/richardhicks/aovpn/blob/master/ProfileXML_Device.xml
Deploy these PS manually on a test machine in the system context and then export the eap XML, which you can later import in Intune. Hope this helps.😊