Maybe this one helps.
https://merill.net/2019/06/update-the-azure-ad-password-of-a-federated-user/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Goal is to convert individual accounts from on-premise to cloud accounts and maintain e-mail and onedrive. Post change account to cloud only when attempt change password receive msg "You cannot reset passwords for user accounts that are synced with your Active Directory and have a federated domain."
Maybe this one helps.
https://merill.net/2019/06/update-the-azure-ad-password-of-a-federated-user/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--