Enterprise Connect giving error after restart

Ajayv
New Contributor III

Hello Guys, 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. .....
73b6f7429bba49458fa9ec382771a7ed

8 REPLIES 8

alexjdale
Valued Contributor III

Are you using any sort of configuration plist/profile?

B-35405
Contributor

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'

KyleEricson
Valued Contributor II

@Ajayv I used this script to uninstall AEC completely then re-install

!/bin/bash

variable for storing the current users name

currentuser=stat -f "%Su" /dev/console
echo $currentuser

su "$currentuser" -c "security delete-generic-password -l 'Enterprise Connect'"

file="/Library/LaunchAgents/com.apple.ecAgent.plist"
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."
fi

sudo killall 'Enterprise Connect Menu'

sudo rm -rf /Applications/Enterprise Connect.app

sudo jamf recon

Call policy to reinstall

/usr/local/bin/jamf policy -event ec-install

exit 0

Read My Blog: https://www.ericsontech.com

Ajayv
New Contributor III

@alexjdale. Sorry for the delayed reply. yes we are using plist/profile.

Ajayv
New Contributor III

The issue got resolved now.

syd
New Contributor

@Ajayv I'm facing the same issue. How did you revolve it?

hafizulla_chitt
New Contributor III

I too have same issue, tried @kerickson steps didn't resolved.

@Ajayv Do you mind to let us know, how did you resolved? thanks.

Ajayv
New Contributor III

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.