Wednesday, 14 August 2013

Mobile account configuration in SharePoint

Mobile account configuration in SharePoint

​We can configure the mobile account in SharePoint server to send the alerts using Short Message Services (SMS) to the mobile phones. If SharePoint site is hosted in intranet, users cannot access the site from out of office environment. By configuring the mobile alerts, users can react quickly when they got the SMS if there is any change in the SharePoint list/library.
We can configure the mobile accounts for specific web application or one account for all the web application in the entire server farm. By configuring the mobile account to the server farm, everyone in the organization can subscribe the alerts. It will be helpful in a scenario that all the users wanted to receive the alerts in the organization. If we have many web applications and it divides users in to groups and alerts can be a specific group, we have to configure the mobile account for web application level.
To configure the alerts, farm account need to have access to the internet to send alerts and we need to get the root certificate for the HTTP service provider web address. We can get this by using root certificate from the service provider.
We can import the root certificate and create a trusted root authority by using following PowerShell commands,
We can get the root certificate by using Get-PfxCertificate command
$cert=Get-Pfxcertificate <CertificatePath>
Here CertificatePath is the physical path where .pfx file located in the local machine 
To create trusted root authority we can use following powershell command, 
New-SPTrustedRootAuthority -Name <Name> -Certificate $cert
Here Name is name of the trusted root authority to create. 
We can configure the mobile account for server farm as the steps shown below, 
Navigate to System Settings in Central Administration, Click on Configure mobile account in E-mail and Text Messages section. 
Click on ​Microsoft ​​Office Online link in ​Mobile Account settings page, Text Message Servie settings. Select the country or the ​​region that wireless service provider is located in service provider page, choose your wireless service provider's country/region list.  Select the provider name in Choose your current wireless service provider list. We'll be redirected in to the service provider website. We need to apply for the SMS service, and once we got the response need to enter it in Mobile Accounts Settings page URL of Text Message (SMS) Service box. 
In the User Name and Password box, enter the username and password of the SMS service provider. To confirm the URL, User Name and Password, click on Test Service Button and click on Ok. 
We can configure the mobile account for farm server by using following Power shell command,
Set-SPMobileMessagingAccount -Identity sms -WebApplication <Web application URL> [-ServiceUrl <Service Url>] [-UserId <User Id>] [-Password <Password>] 
Here Web application URL is URL of the web application. Service URL is Url to the server where SMS service is located.User IDPassword are the User name and password for service. 
To configure the mobile account for a web application,
Navigate to Application Management in SharePoint Central Administration, click on Manage web Applications.
Select the web application to configure the mobile account and click on Mobile Account in Ribbon General Setting dropdown in Web applications page. 
On Web Application Text Message Service Settings, Text Message Service Settings section, click on Microsoft Office Online link to access the list of available service providers. 
Click on ​Microsoft ​​Office Online link inWeb Application text message service dialog box. ​Select the country or the region that wireless service provider is located in service provider page, choose your wireless service provider's country/region list.  Select the provider name in Choose your current wireless service provider list. We'll be redirected in to the service provider website. We need to apply for the SMS service, and once we got the response need to enter it in Mobile Accounts Settings page URL of Text Message (SMS) Service box. 

In the User Name and Password box, enter the username and password of the SMS service provider. To confirm the URL, User Name and Password, click on Test Service Button and click on Ok. 
We can configure the mobile account for web application by using following Power shell command,
Set-SPMobileMessagingAccount -Identity sms -WebApplication <Web application URL> [-ServiceUrl <Service URL>] [-UserId <User Id>] [-Password <Password>] 
Here Web application URL is URL of the web application. Service URL is Url to the server where SMS service is located.User IDPassword are the User name and password for service.

No comments:

Post a Comment