SharePoint 2010: Enable Claims Authentication using PowerShell
Have you ever created a Web Application using Windows Authentication then later you decided you want to use Claims Authentication. No need to create new Web Application. You can convert your existing Web Application to use Claims Authentication through a PowerShell Command!
$w = Get-SPWebApplication http://servername:port
$w.UseClaimsAuthentication = "True";
$w.Update();
Before executing this PowerShell command, go to Central Administration > Manage Web Applications > select your web application and from ribbon > click Authentication Provider. The other authentication types are unavailable.
After executing the PowerShell command, the authentication provider now offers options to configure Windows Authentication, FBA (forms based authentication), or Trusted Identity Providers.
References
- Original content from the blog of Mai Omar Desouki, Forms Based Authentication FBA by AD in SharePoint 2010
Other Languages
This article is also available in the following languages: