ManageEngine AD Self Service Plus Custom SMS Gateway

We have been using ManageEngine’s AD Self Service Plus for years at work. It’s a great tool for a BYOD environment which reminds user of expiring passwords and allows resetting / unlocking expired passwords.

After recently reading this great How-To about how to set up a Raspberry PI SMS Server, I thought to myself this was a great addition to our AD Self Service Plus Tool.

So here’s how to do it :

In playsms, first create a standard user and enable Web Services for that user in “User Configuration“:

Take note of the username and token, you’re going to need it later.

 

Now log on to your AD Self Service Administrator Dashboard, and go to “Mail/SMS Verification Code

AD Self Service + Dashboard Link.

In the “Multi-Factor Authentication” Page, on the “Verification Code” Tab, make sure that following services are enabled:

  • Enable Verification Code (should already be active if you’re using the Self Service…)
  • Mobile Number, and set a message that will be sent via SMS. Do not forget to includ %confirmCode% , which is the variable containing the verification code


In the lower part of this page is a link at the end of “Configuration of mail server / sms modem settings” which brings you directly to the SMS gateway settings.

In the Server Settings, on the SMS Settings tab, make sure to select the following :

SMS Provider :
Custom
Send SMS via :
HTTP
HTTP Method :
Post
HTTP URL :
http(s)://your.playsms.url/index.php
HTTP Parameters :
app=ws&u=<username>&h=<token>&op=pv&to=%mobNo%&msg=%message%

No need to fill in Response from Provider, as smsplay will return JSON Code that AD Self Service Plus doesn’t recognize. If you know why, please share your thoughts in the comments.

When using the system, users will have the choice :

The code is being sent via SMS :

Permanent link to this article: https://www.hiscorebob.lu/workshops/manageengine-ad-self-service-plus-custom-sms-gateway/

Hannerlosst eng Noriicht:

This site uses Akismet to reduce spam. Learn how your comment data is processed.