Azure AD connection

Hello. I am struggling with the problem of user synchronization between local AD on UCS and AD in Azure. Specifically, Office 365. Users synchronize without a problem, or rather the name and email. However, my passwords do not synchronize in any way.
I am looking for various information on the Internet. That is, there are sources that claim that it is possible, others that it is not. I do not know if I am interpreting it correctly.
Please let me know if such synchronization will work with passwords.
If so, I would like to ask for guidance on what I should set outside the standard configuration.

Mastodon