Change SharePoint 2010 Authentication from Windows to Forms

While creating a web application, by mistake selected “Windows” authentication, and felt we need “Forms” authentication (Claims Based Authentication) because of a business requirement.

Went to Central Administration >> Application Management >> Manage Web Applications >> Selected the desired web application >> Authentication Providers.

Change SharePoint 2010 Authentication from Windows to Forms

Oops, “Forms” option is disabled! Couldn’t find any way to enable “Forms” Authentication from user interface. Solution? PowerShell!

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue 

$WebApp=get-spwebapplication "http://sharepoint.crescent.com"
$WebApp.useclaimsauthentication="True"
$WebApp.Update()

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

One thought on “Change SharePoint 2010 Authentication from Windows to Forms

  • October 2, 2012 at 2:06 PM

    I just want to know, how to configure FBA in SharePoint Server 2010 using IIS 7 and ASP .NET Membership Database (SQL) like in MOSS 2007. And also can we extend FBA authentication to Windows authentication to enable CRAWL?

    DeepNetSecurity.com

    Reply

Leave a Reply