Reinstall the system stored procedures after enabling high availability
sp_companion secondary-server-name, 'drop' sp_configure 'enable HA', 0
sp_configure 'enable HA', 0
sp_configure 'enable HA', 1
sp_companion [companion_server_name], configure [, with_proxydb]