This project has moved. For the latest updates, please go here.
Version History

Customizing the Web Part Layout

Localizing the SharePoint 2013 FBA Pack

Installing and Configuring the SharePoint 2013 FBA Pack

Configure SharePoint 2013 to use Forms Based Authentication

Before you can use the SharePoint 2013 FBA Pack, SharePoint must be configured to use Forms Based Authentication:

http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/

Install (or upgrade) the SharePoint 2013 FBA Pack

  • Download and unzip Sharepoint2013FBAPack.X.X.X.zip to the SharePoint server.
  • Open PowerShell and navigate to the folder the files were unzipped to.
  • Run the following command:
.\deploy [Site Collection URL]
e.g. .\deploy http://demo2010a:13824/
  • The FBA Pack will be deployed to SharePoint and activated on the specified site collection. If the site collection url is omitted, you will need to manually activate the 'Forms Based Authentication Management' feature in each site collection you wish to use it.
  • To uninstall run:
.\undeploy [Site Collection URL]
Notes:

Ensure that the SharePoint 2013 Administration service is running prior to running the deployment scripts, or the deployment will fail.

Depending on your PowerShell security settings, it may prevent you from running the deployment scripts because they are not signed. To change the setting to allow unsigned scripts to run, run the following command:
Set-ExecutionPolicy Unrestricted

Configure the FBA Pack

The configuration and management pages can be opened from the Site Settings page:
sitesettingsmenuhighlight.png

Select ‘FBA Site Configuration’ to open the configuration page:
FBASiteConfiguration.png

Enable Roles: Allows users to be assigned Membership Roles instead of SharePoint Groups on the User Management page.
Review Membership Requests: Specifies whether new users requests should be automatically granted, or reviewed by an administrator.
Membership Review Site URLs: URLs for pages that can be used in the email templates.
Membership Email: The XSLT email templates to use.

Note that these items can only been seen and used by the site collection administrators.

Add the web parts to pages

There are three highly customizable web parts available: Membership Request, Change Password andPassword Recovery. They must be manually added to the page you’d like to use them on:
addwebpart.png

Change Password:

ChangePassword.png

Membership Request:

membershiprequest.png

Password Recovery:

passwordrecovery.png

Changing your Password

A Change Password item has been added to the user menu that will bring the user to a Change Password page:
changepasswordpagemenu.png

Reviewing Membership Requests

If “Review Membership Requests” was selected on the configuration page, new registered users will appear in the Membership Request Management page before being enabled on the site. Each user can be edited, and their status changed to either Approved or Rejected. The user will be sent an email with the new status of their account request.

membershipreviewlist.png

membershipreviewlistapprove.png

Managing Users

Users can be created, deleted and edited and their passwords reset from the FBA User Management page:

manageusers.png

newuser.png

edituser.png

resetpassword.png

deleteuser.png

Managing Roles

Roles can be created and deleted from the FBA Roles Management page:
manageroles.png
newrole.png
deleterole.png

IF YOU HAVE A QUESTION - PLEASE ASK IT IN THE DISCUSSION FORUM. COMMENTS BELOW ARE NOT READ ON A REGULAR BASIS.

Last edited Jan 20, 2013 at 10:44 PM by ccoulson, version 14

Comments

jawad37pk Nov 12, 2015 at 6:55 AM 
Hi there
I don't know it is an interesting fact or configuration fault. I install the FBA Pack and configure the Web.config files everywhere. I deploy it on the Project Server 2013 site. once everything is done and running, i notice that my Active Directory Resource Enterprise pool Sync start behaving strangely. after that it only sync the AD Usernames and stop the Email, Display Names and other fields. I double check it with removing the FBA Pack and it works fine and complete resource center pool is synced.
any idea how to fix this issue.
Jawad Ahmed

vinaysharma Jun 30, 2015 at 2:33 PM 
Hi,

How can we use Request Membership webpart(or a page containing this wp) from login page? for example I need a page so that user can request for membership, I can put a link to this page on login page. The issue is, how can I add a page containing Request Membership webpart before logging in?

smitman34 Sep 15, 2014 at 2:55 AM 
How do I add a page outside of the SharePoint site that I can put the register webpart on?

mangesh27 Aug 13, 2014 at 7:49 PM 
site membership review list not showing any users

I am able to login , create user , change password but still new users created using the NewMembershipRequest.aspx created using webpart are not showing in Review list have checked there are users created in the FBA database and the approved flag set to 0 .

amjadmajeed May 11, 2014 at 8:52 AM 
After entering a new user, I am unable to see it in review membership list. can anyone help?

wilsjay Apr 2, 2014 at 4:01 PM 
I am having an issue with the FBA pack getting an error message of: 'A Membership Provider has not been configured correctly. Check the web.config setttings for this web application.' error when I click on FBA User Mgmt or FBA Role Mgmt under site settings. Everything else seems to work correctly including FBA authentication itself.

mohammad3mer Mar 4, 2014 at 8:48 AM 
I already have changed webconfig files needed for central admin, Service token and My web App but it still give me
"A Membership Provider has not been configured correctly. Check the web.config setttings for this web application."

mohammad3mer Mar 3, 2014 at 3:56 PM 
when open any web part page give me
A Membership Provider has not been configured correctly. Check the web.config setttings for this web application.

CliveWightman Jan 31, 2014 at 9:51 AM 
This has installed but what changes are needing in the webconfig file?
Membership Provider has not been configured correctly. Check the web.config setttings for this web application.

chrisbarba Jul 17, 2013 at 5:30 AM 
Here are my instructions for setting FBA on sharepoint 2013.
http://chrisbarba.com/2013/07/16/sharepoint-2013-forms-based-authentication-fba/

genrex Apr 29, 2013 at 11:18 PM 
Are you missing a slash at the end?

.\deploy https://server.domainName.co.uk/sites/Internalusers/

PeteN Feb 21, 2013 at 3:51 AM 
I am running sharepoint 2013, but when running your script I come up with the following error .I have changed the site name for security

PS C:\Users\Administrator.CBI> cd\
PS C:\> cd temp
PS C:\temp> .\deploy https://server.domainName.co.uk/sites/Internalusers
Going to uninstall feature
Going to uninstall solution
Waiting for job to finish
Waiting to finish job solution-deployment-visigo.sharepoint.formsbasedauthentica
tion.wsp-0....Finished waiting for job..
Going to remove solution
Going to add solution

Name SolutionId Deployed
---- ---------- --------
visigo.sharepoint.formsbase... 956715d5-f34c-4b00-bfb7-8c35d5fa0f62 False
Going to install solution to all web applications
Waiting for job to finish
Waiting to finish job solution-deployment-visigo.sharepoint.formsbasedauthentica
tion.wsp-0.....Finished waiting for job..
Deactivating/activating active features to ensure activation script is run
Going to enable Feature
Enable-spfeature : The Feature is not a Farm Level Feature and is not found in
a Site level defined by the Url https://server.domainName.co.uk/sites/Internalusers.
At C:\temp\Activate.ps1:29 char:2
+ Enable-spfeature -identity $featureName -confirm:$false -url $url
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...etEnableFeature:
SPCmdletEnableFeature) [Enable-SPFeature], SPCmdletException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletEnableFe
ature