In the previous article, SharePoint 2016: Forms Based Authentication – Part 1, of this series on implementing FBA with SharePoint, we saw the execution of steps 1 & 2 for the process.

In this article, we are going to see the execution of steps 3 & 4. For a quick review, I am putting up the process diagram again in here.

Process Diagram

1

Step 3 - Configure IIS

2

3

4

On the “Add Connection String” screen,

5

Once done with the process, we can see to the Connection String was created.

6

Select IIS Server Name on the left navigation and click on the Providers”.

7

8

On the “Add Provider”,

9

10

On the “Add Provider” screen

11

Enter “/” as Application Name under General section.

12

13

Configure Providers (Roles & Membership Providers) as shown above. Since the steps are exactly the same, I am not repeating it.

I am putting up the screen shots here for your quick reference.

1415161718

Step 4 - Modify Web.Config

In IIS, select the Web application that you want to implement with FBA.

19

This will open the Virtual Directory for the Web application.

Edit the Web.Config file for Web application, using Visual Studio.

20

Now, locate PeoplePickerWildcards section, as shown below.

21

Specify the name of membership provider SPMembership that we have configured in the steps above.

22

With this, we are all done for this demo.

In this article, we have covered steps 3 & 4. We will look for step 5 in upcoming article on Configuring FBA for SharePoint. Until then, stay tuned.