Reset User Password

Reset password for specified user.

Input Parameters

Name Type Required Description
User Name String Yes User name used to authenticate to the Office 365 web service.
Password Password Yes Password used to authenticate to the Office 365 web service.
Email Address String Yes Email address of the user to reset password for.
Force User to Change Password at Next Logon Password Yes Force user to change their password at next logon.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
User Name String Yes Office365Admin@ABC.onmicrosoft.com
Password Password Yes <link to start parameter>
Email Address String Yes User1@ABC.onmicrosoft.com
New Password Password Yes <link to start parameter>
Force Password Checkbox No Optional force the new password