I'm getting a first-time error like this since using Enterprise Connect. I tried a clean installation. EC installing Corretely and user also able to enter your credentials. Once the user restarts your machine then only getting below error.
Please provide solutionif anyone faced this issue. .....
I see in the readme file it's said that this can happen if you've tried to downgrade EPC. Can you get the EPC logs and post it? The sh for that comes with EPC. We'll be able to tell more with the EPC logs. The name of the sh is called 'eclogs.sh'
@Ajayv I used this script to uninstall AEC completely then re-install
stat -f "%Su" /dev/console
su "$currentuser" -c "security delete-generic-password -l 'Enterprise Connect'"
if [ -f "$file" ]
then launchctl unload /Library/LaunchAgents/com.apple.ecAgent.plist sudo rm -rf /Library/LaunchAgents/com.apple.ecAgent.plist
else echo "$file not found."
sudo killall 'Enterprise Connect Menu'
sudo rm -rf /Applications/Enterprise Connect.app
sudo jamf recon
/usr/local/bin/jamf policy -event ec-install
Copy ecAgent file to /Library/LaunchAgents folder from newly installed Mac, replace the existing one from the Affected mac and restart your mac then try to login Enterprise connect with your credential. Let us know if works this.