you need to enable SSPR and also configure the setting in azure AD connect. For detailed step by step instructions, please refer https://learn.microsoft.com/en-us/azure/active-directory/authentication/tutorial-enable-sspr-writeback
Troubleshooting password reset (SSPR) issues https://learn.microsoft.com/en-us/azure/active-directory/authentication/troubleshoot-sspr
Thanks,
Eswar
www.eskonr.com