Hello,
we are using a third-party VPN app on our devices and I would like to enroll it with zero touch, meaning that with the installation of app the VPN profile should be installed on Android automatically, too.
I tried to tweak the instructions described here: https://www.soti.net/mc/help/v2025.1/en/scriptcmds/reference/configuring_native_VPN_AE.html?hl=native%2Cvpn
But I am not able to find the right configuration. Most important is to set the "always-on VPN" option of the VPN profile. When I open the app, the VPN profile is installed automatically, but the always-on VPN option is disabled. Other MDMs, like MobileIron or ManageEngine do have the option to set this flag for a specific app via profiles. For me it would be OK to use writeprivateprofstring, if no other option is available with MobiControl.
As less important, but optimal solution would be to install the VPN profile completely without opening the VPN app. This would mean that the script needs to contain the app-id etc.
Any ideas?