Friday, June 29, 2012

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()



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

1 comment :

  1. 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

    ReplyDelete

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...