How to use Twilio CLI with Netwrix Password Reset SMS Verification
Overviewβ
The Twilio CLI allows to manage phone numbers, call Twilio APIs, and test webhooks.
Instructionsβ
-
Download Twilio from the official website (recommended to use Windows): Install the Twilio CLI βΈ± Twilio π
https://www.twilio.comhttps://www.twilio.comhttps://docs.netwrix.com -
Being logged in with the Netwrix Password Reset (NPR) Service Account, open CMD and log into Twilio accaunt.
-
In the Account info section, fill in the following fields:
- Account SID
- Auth Token

-
In Netwrix Password Reset SMS Verification Settings, setup Command and Parameter
IMPORTANT: every time a setting is changed for Parameter in the Netwrix Password Reset Settings for Verification, the Service Account needs to be restarted. Failure to do so may result in the changes not taking effect or the SMS not being sent on Unlock/Resets.
- Command:
C:\Windows\System32\cmd.exe - Parameter:
/C ""C:\Program Files\Netwrix Password Reset\TwilioMSGSMS.cmd" [PHONE] [CODE]""
TIP: the default AD Attribute is set to MOBILE PHONE. You can change it by clicking on the AD Attribute link in the SMS settings.
- Command: