FortiGate 7000E for FortiOS 7.2.8 includes the following change:
The command diagnose sys ha set-as-primary has been removed.
diagnose sys ha set-as-primary