Microsoft\'s documentation states
For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only.