After upgrading the Agent, Core is reporting the following error:
Exception chain: Invalid enum value 'SupportsSnapshotPrePostScripts' cannot be deserialized into type 'Replay.Common.Contracts.Metadata.AgentFeatures'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute. Call to service method https://xxx.xxx.xxx.xxx
The issue may also occur while using Local Mount Utility.
This error may also be found if trying to add a new agent to protection; when finalizing the wizard it fails with error 'Unable to connect to the remote server'. When displaying the stack trace, you find the above mentioned details.