Connectors
...
Actions
Reset Password
5 min
description initiate a password reset for a specified user by providing their id and methodid via the microsoft graph api endpoint url /v1 0/users/{{id}}/authentication/methods/{{methodid}}/resetpassword method post inputs path parameters (object) – required path parameters id (string) – required user id methodid (string) – required password method id json body (object) newpassword (string) the new password required for tenants with hybrid password scenarios if omitted for a cloud only password, the system returns a system generated password include uppercase (boolean) include atleast one uppercase letter include lowercase (boolean) include atleast one lowercase letter include digit (boolean) include atleast one one digit include special (boolean) include atleast one special character length (number) password length with minimum 20 auto generate (boolean) auto generate random password output example \[ { "status code" 204, "response headers" { "cache control" "no cache", "transfer encoding" "chunked", "content type" "application/json;odata metadata=minimal;odata streaming=true;ieee754compatible=false;charset=utf 8", "content encoding" "gzip", "vary" "accept encoding", "strict transport security" "max age=31536000", "request id" "f2584bdf 0295 424e bdb1 2df08413c0c3", "client request id" "f2584bdf 0295 424e bdb1 2df08413c0c3", "x ms ags diagnostic" "{\\"serverinfo\\" {\\"datacenter\\" \\"central india\\",\\"slice\\" \\"e\\",\\"ring\\" \\"3\\",\\"scaleunit\\" \\"002\\",\\"roleinstance\\" \\"pn2pepf00000273\\"}}", "x ms resource unit" "2", "odata version" "4 0", "date" "wed, 06 nov 2024 15 54 59 gmt" }, "reason" "ok", "json body" { "@odata context" "https //graph microsoft com/v1 0/$metadata#microsoft graph passwordresetresponse", "newpassword" "cuyo5459" } } ] output parameters status code (number) reason (string) json body (object) @odata context (string) newpassword (string) response headers header type cache control string transfer encoding string content type string content encoding string vary string strict transport security string request id string client request id string x ms ags diagnostic string x ms resource unit string odata version string date string