We have SSO policy that runs at every network change to reestablish the key, with documentation from Apple. This was setup prior to me supporting. The problems is, that it runs and reestablishes the SSO, but in the logs, it shows a network error. When that happens, it prevents any other policy from running other then self service policies until the user restarts their mac. It doesn't happen on all devices, it's pretty sporadic. We only find out when we notice updates not installing. When you go to the device, the only policy that runs over and over is out SSO Policy.
Here is the script that runs in the policy.
#!/bin/bash
killall AppSSOAgent
sleep 10
app-sso -a "oursite" -R -q
exit 0
Here is our Config Profile.