Hello @M G
Have you configured account permissions for Azure AD Connect to writeback the password as documented here?
Also make sure you have enable password writeback in Azure AD Connect, click here for more details. If password writeback is not enabled in AD Connect, you On-premises integration option is grayed out.
You must have Domain Controllers with Windows Server 2012 or later for password writeback.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.