Aug 04 2021 12:53 PM
Is there any way to configure L2TP VPN with pre-shared key in Intune?
Aug 06 2021 02:50 AM
Aug 11 2021 07:53 AM
Aug 13 2021 01:36 AM - edited Aug 13 2021 01:36 AM
SolutionHi Vanier,
There is a possibility to configure your Meraki L2TP VPN that would be through a PowerShell script. Unfortunately, it’s yet not possible to use a configuration profile for this.
There is a non-Microsoft website build that will help you create the PowerShell script: https://www.ifm.net.nz/cookbooks/meraki-client-vpn.html
Just enter your VPN info (I would use fake info - and change the PS script afterward). After you have specified your info, it will spit out a PowerShell script that you can push through Intune. The best approach would be wrapping this PowerShell script into a Win32 app, and configure a detection rule so you're in control who has the app installed and who didn’t.
Good luck!
Regards, Bilal
Oct 01 2021 09:29 AM
@BilalelHadd I'm running into a problem trying to push this through the Scripts function in Intune. Can anybody share their Intune settings or how to deploy this with Azure AD? When I run the .ps1 script as an elevated admin locally, the VPN is added. When I push it through Intune, no VPN shows up when I log in with an Azure AD user account but Intune says the script was performed successfully. Thanks!
Oct 04 2021 02:15 PM
Does this prevent Hybrid AD login? The infrastructure I work with uses the Meraki L2TP client VPN and has a requirement to Hybrid domain join at intune. Is there any way of getting this working if we cannot set up configuration profile VPN connections in this manner?
May 08 2023 05:39 PM
Not to disregard this tool....but not sure I want to give a random site my VPN Server IP and PreShared Key just so they can generate a script. All thats left would be user credentials and they're in if they're a bad actor... #JustSaying
Aug 13 2021 01:36 AM - edited Aug 13 2021 01:36 AM
SolutionHi Vanier,
There is a possibility to configure your Meraki L2TP VPN that would be through a PowerShell script. Unfortunately, it’s yet not possible to use a configuration profile for this.
There is a non-Microsoft website build that will help you create the PowerShell script: https://www.ifm.net.nz/cookbooks/meraki-client-vpn.html
Just enter your VPN info (I would use fake info - and change the PS script afterward). After you have specified your info, it will spit out a PowerShell script that you can push through Intune. The best approach would be wrapping this PowerShell script into a Win32 app, and configure a detection rule so you're in control who has the app installed and who didn’t.
Good luck!
Regards, Bilal