SMS Alerting is a new feature introduced in SharePoint 2010. Business requirements like, user should get a SMS whenever new announcement published or stock level decreased can be fulfilled with SMS integration. In some cases, SMS is preferred than Email message as SMS is fast and Email may get filtered by SPAM filters.
Perform the following procedure step by step to configure SMS integration with SharePoint to establish SMS notification system.
Enable SMS Alerts in SharePoint – Steps Overview:
- Obtain the SMS Gateway by registering to any of the SMS gateway providers or Setup your own SMS Gateway.
- Import the root certificate of the service provider’s Root certificate and create a trusted root authority.
- Configure Mobile account settings in SharePoint 2010 central Administration.
- Create Alerts/Use third-party applications (like Nintex Workflows) to use the SMS alerts!
Step 1: Obtain the SMS Provider Gateway
SharePoint SMS providers
There are many SMS gateway services available out there on the Internet. It is also possible to setup our own SMS gateway (but more cost involved!).
In this implementation guide, we are going to use: redoxygen.com
Step 2: Import the root certificate of the SMS service provider and add it to the trusted root certificate authority
SSL connection must be used between the SharePoint server and the SMS service provider. So, we need to have the SMS service provider website’s certificate provider in a trusted certificate provider authority store before proceeding to the next step.
Obtain a root certificate and create a trusted root certificate authority. Import the root certificate of the service provider’s HTTPS Web address, and then create a trusted root authority.
Here, https://redoxygen.com/ uses the certificates from Go Daddy.com, So go to: https://certs.godaddy.com/anonymous/repository.seam , download the certificate gd-class2-root.cer under Go Daddy Class 2 Certification Authority Root Certificate (DER Format) and place it under: c:\Certificates\ gd-class2-root.cer (or whichever path applicable)
Now, the next step is to: Add the certificate to the trusted root certificate authority store. This can be achieved by PowerShell. Here is
$cert = Get-PfxCertificate "C:\certificates\gd-class2-root.cer" New-SPTrustedRootAuthority -Name "GoDaddy Inc" -Certificate $cert
If you miss the above steps, You will get an error message “There is a problem connecting to the text message (SMS) service” while configuring Mobile account settings.
Step 3: Configure Mobile account settings in SharePoint Central Administration
1. Go to: Central Administration >> System Settings >> Configure Mobile Account
2. Enter the account details you obtained from https://www.redoxygen.com
a. Enter the URL as: https://www2.redoxygen.net/oms/service.asmx
b. Enter your user name and password.
c. Click on “Test Service” to validate the settings. You should see “The account is valid”
3. Click on “Ok” button to save your settings.
The above steps can be automated using PowerShell cmdlet:
Set-SPMobileMessagingAccount -Identity sms -WebApplication <WebApplicationUrl> [-ServiceUrl <ServiceUrl>] [-UserId <UserId>] [-Password <Password>]
Step 4: Create Alerts / Use third-party applications to use the SMS alerts!
Now, everything is done, SharePoint SMS setup is ready! Create your alerts in any list by specifying the mobile number under delivery method as Text Message (SMS) to receive SMS Alerts.
That’s all, you are done! SharePoint will send SMS message as per your alert settings.
Technet Reference: Configure a mobile account