Thanks for reaching out to Microsoft Q&A
With Cloud Sync, you don't need to set the agents as primary or secondary, high availability occurs when you install additional agents as per our documentation. The recommendation is to have at least 3 agents per AD forest:
Let me know if you have any questions.
Thanks,
Fabio