MacOS Built-in VPN client issue

myu
New Contributor III

We deployed a Configuration Profile with a VPN payload ever since we started using Jamf Pro to M1 Macbook Airs running MacOS 12.5 at the time the CP was deployed.  Everything worked fine. Recently, we needed to add a new M2 Macbook Pro running MacOS 13.6 and suddenly the VPN profile would not work and only display "An unexpected error occurred". What's weird is that if we create a new Configuration Profile with the EXACT same payload settings and deploy it AFTER the entire provisioning process is complete, then that new Configuration Profile allows the user to connect to the VPN. Thinking it may just be a fluke, we re-provisioned the Macbook and assigned the new CP to it and it still breaks with the same error message. And once again, if I create either a new CP in Jamf Pro or manually create the VPN under Settings, it works just fine.

 

I've been trying to locate the log file for the VPN but there is no /var/log/ppp and I've also tried to use Console to look at logs but can't find anything.

 

Any suggestions where we could start looking?

 

We did have an issue with the new Macbook Pro when deploying SCEP and Wi-Fi where it needed to be the last step in the whole provisioning process otherwise it won't work. Is it possible this is a similar issue and it now wants the VPN profile to be configured AFTER the user logs in?

 

BTW, we're connecting using IPSec to a Fortigate (we're not using the Forticlient as we're trying to avoid having to install additional apps).

1 ACCEPTED SOLUTION

myu
New Contributor III

Managed to get my hands on a spare Macbook Air M1 that didn't have this problem before and I provisioned it in Jamf Pro (it was still on MacOS 12.5) and it started having problems as well. So it looks like this is a Jamf caused issue and not a MacOS issue.

 

Anyway, for anyone else having a similar problem, the workaround is to create a Smart Group that only contains devices that have finished provisioning and only apply the Configuration Profile to them. In our case, I've created a Smart Group that has the criteria of the very last app we install in the provisioning process being present. Only when that app is installed that the SCEP/Wi-fi (as I've posted here) and the VPN configuration profiles are applied.

 

N.B. don't know if it makes a difference but the last app we install is always NoMAD and NoMAD Login. But again, it didn't use to create this issue before

View solution in original post

1 REPLY 1

myu
New Contributor III

Managed to get my hands on a spare Macbook Air M1 that didn't have this problem before and I provisioned it in Jamf Pro (it was still on MacOS 12.5) and it started having problems as well. So it looks like this is a Jamf caused issue and not a MacOS issue.

 

Anyway, for anyone else having a similar problem, the workaround is to create a Smart Group that only contains devices that have finished provisioning and only apply the Configuration Profile to them. In our case, I've created a Smart Group that has the criteria of the very last app we install in the provisioning process being present. Only when that app is installed that the SCEP/Wi-fi (as I've posted here) and the VPN configuration profiles are applied.

 

N.B. don't know if it makes a difference but the last app we install is always NoMAD and NoMAD Login. But again, it didn't use to create this issue before