Password Reset for a user account in ADMP

Password Reset for a user account in ADMP

Use Case:  Frequent calls to the help desk to reset their account password, are quite common. This process entails redundant work, its time consuming.

This can be automated with ServiceDesk Plus’ in-product capabilities.

Making use of the DRE in ServiceDesk Plus, we can invoke a Deluge script which will reset the password for the user account in AD using ADManager Plus API.


Steps to set it up:

1. Goto Admin > Request custom function > Global Functions. 

We will need the ADMP hosted url, AuthToken and Domain Name for establishing the connection with ADMP. 
Set the return type to "Map" and copy the script from attachment. [File - ADMP_Configuration.txt]
Storing these informations as a global function will help us re-use these in other scripts as well.




2. Create Incident Additional fields to store the ADMP field values. Include these additional fields in the required template. 

SDP Additional field names can be fetched from Admin > Incident - Additional Field > API Field Name




3. The functional part of the script has to be defined under Admin > Request custom function > Custom Action. 

Update the LDAP Field values and SDP Additional field API Field Names in the script. Ensure the LDAPFields and SDPFields are mapped correctly.

Eg: sAMAccountName is stored in udf_sline_30 and newPassword is stored in udf_sline_31




4. Refer attachment for the deluge script. [FileName: Reset_Password_ADMP_User.txt]

5. With custom triggers we can configure a criteria such as ‘when a request is created or approved’ to invoke the deluge script stored in the custom function and automatically resets the password for the user account in ADMP.



          • Related Articles

          • Unlock an ADMP User

            Use Case:  Automatically unlock user accounts in ADManager Plus when a ticket is raised in ServiceDesk Plus for the same.  All you have to do is, invoke a Deluge script to unlock the user using ADManager Plus API. Steps to set it up: 1. To connect ...
          • Modify User Attributes (Department, Manager) in ADMP

            Use Case:  Modifying User Attributes for a user account in AD can be automated with ServiceDesk Plus’ in-product capabilities. Making use of the DRE in ServiceDesk Plus, we can invoke a Deluge script which will unlock the user account in AD using ...
          • Delete a User from ADMP

            Use Case:  While resigning an employee, the HR department sends the employee’s details to the IT department via email. IT department in turn, will delete the employee from the Active Directory.  This process entails redundant work, its time ...
          • How to reset administrator password in ServiceDesk Plus.

            1. Access your ServiceDesk Plus server and browse to [your drive]:\ManageEngine\ServiceDesk\bin. 2. Click changeDBServer.bat. Information on the configured database will be displayed.   If the database is MSSQL, go to the SQL Management Studio, go to ...
          • Auto create User Accounts in AD

            Use Case:   In many organizations, the employee onboarding process requires the Hiring Manager to send the employee details to the IT team, who will add the employee to the organization's Active Directory. This time-consuming, human error-prone ...