A cloud-based identity and access management service for securing user authentication and resource access
I think you are confusing self-service password reset and password change. For the latter, best use the resetPassword endpoint: https://learn.microsoft.com/en-us/graph/api/passwordauthenticationmethod-resetpassword?view=graph-rest-beta&tabs=http