SharePoint 2016: Forms Based Authentication – Part 2

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 and for the sake of quick review I am putting up the process diagram again in here.

Process Diagram

1

Step 3: Configure IIS

  • Start IIS Manager with Admin rights

2

  • Select IIS Server Name on the left navigation
  • Click on the “Connection Strings”

3

  • Click on Add

4

  • On the “Add Connection String” Screen
  • Enter name of Connection String
  • Enter SQL Server Instance Name
  • Enter Database Name
  • Verify the Connection String and make sure it is correctly build up

5

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

6

Select IIS Server Name on the left navigation and Click the “Providers”

7

  • Select Feature “.Net Roles” from the dropdown
  • Click Add

8

  • On the “Add Provider”
  • Select Type as “SqlRoleProvider”
  • Enter Name as appropriate
  • Enter Connection String Name as appropriate
  • Enter Application Name as “/”
  • Click OK

9

  • Select Feature “.Net Users” from the dropdown
  • Click Add

10

  • On the “Add Provider” Screen
  • Select Type as “SqlMembershipProvider”
  • Enter Name as appropriate
  • Configure behavior of the Membership Provider
  • Choose Connection String Name we created earlier under Data Section
  • Scroll down to configure more settings

11

Enter “/” as Application Name under General Section

12

  • Expand the Web Application from the left navigation
  • Click on the “Providers” from the right hand side

13

Configure “Providers” (Roles & Membership Providers) as shown above since the steps are exactly same so I am not repeating it.

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

1415161718

Step 4: Modify Web.Config

In the IIS select the Web Application that you want to implement with FBA

  • Click on “Explore”

19

This will open the Virtual Directory for the Web Application

Edit the Web.Config file for the 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 steps above

22

With this we are all done for this demo.

In this article we have covered Step 3 & 4. We will look for Step 5 in upcoming article on Configuring FBA for SharePoint.

Stay tuned.:)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s