Application upgrade

Hi

Can anyone advise how to avoid the following error, as below, when upgrading Cisco Anyconnect on macOS?

The upgrade takes place ok but when the application is then launched this appears on some machines. Its clearly linked to Keychain but details on how to avoid, if possible, would be helpful.

CA

thanks