Within the provisioning profile created by Apple Configurator 2 …
I presume you mean configuration profile here.
I suspect you’re being bitten by keychain access groups. Security items installed via a configuration profile typically go into the
com.apple.managed.vpn.sharedaccess group (see Profile Configuration section of the NETunnelProviderManager Reference) and there is currently an issue with Network Extension apps getting access to that group.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"