-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and upgrade steps
If you have SMS-based self-service password reset already configured you can skip this step. If you don't already have an SmsServiceProvider, review the guide on creating an SmsServiceProvider
Download the latest package from the releases page
Add-SPSolution -LiteralPath "D:\temp\user-verification.wsp"
Install-SPSolution -Identity user-verification.wsp -WebApplication "http://mimportal.my.domain" -Force -GACDeployment -FullTrustBinDeployment
Enable-SPFeature -Identity user-verification -Url "http://mimportal.my.domain/IdentityManagement"
iisreset
stsadm -o addsolution -filename D:\temp\user-verification.wsp
stsadm -o deploysolution -name user-verification.wsp -url http://fim/IdentityManangement/ -immediate -allowgacdeployment
stsadm -o activatefeature -name user-verification -url http://fim/IdentityManangement/
Modify the SharePoint web.config file to include the lithnetUserVerification
section, and configure the location of the SMS provider DLL.
- In the
<configSections>
element, add the following line
<section name="lithnetUserVerification" type="Lithnet.ResourceManagement.UI.UserVerification.AppConfigurationSection, Lithnet.ResourceManagement.UI.UserVerification"/>
- Add the following section towards the end of the file. Replace the path to the SMS provider DLL as appropriate for your environment.
<lithnetUserVerification smsServiceProviderDll="%ProgramFiles%\Microsoft Forefront Identity Manager\2010\Service\SmsServiceProvider.dll" />
Ensure that any dependant DLLs that your SMS provider requires are located in the same path.
<my:Control my:Name="SmsLink" my:TypeName="UocHyperLink" my:Caption="Verify user" my:Description="" my:RightsLevel="{Binding Source=rights, Path=msidmOneTimePasswordMobilePhone}">
<my:Properties>
<my:Property my:Name="Text" my:Value="Verify this user using an SMS token"/>
<my:Property my:Name="NavigateUrl" my:Value="~/_layouts/user-verification/Verify.aspx?id=%Attribute_ObjectID%"/>
</my:Properties>
</my:Control>
Only users who can read the msidmOneTimePasswordMobilePhone attribute can use the tool. Create the sets and MPRs to allow the appropriate users to access the tool.
When visiting the User Edit/View page, you should now have a link to the user verification module, provided the user has permission to read the msidmOneTimePasswordMobilePhone attribute
The Configuration file reference provides details on how you can modify settings such as the length of the SMS code, the attributes that are displayed in the user interface, and optionally restrict access to a particular set of users
Update-SPSolution -Identity user-verification.wsp -LiteralPath "D:\temp\user-verification.wsp" -GACDeployment -FullTrustBinDeployment
iisreset
stsadm -o upgradesolution -name user-verification.wsp -filename "d:\temp\user-verification.wsp" -immediate -allowgacdeployment