Friday, August 10, 2012

Switch from Classic to Claims Authentication in SharePoint 2010

In this article we will discuss how to switch from Classic Mode Authentication to Claims Authentication. You can also check my last article on Configure Claim Based Authentication in SharePoint 2010.

Through central administration there is no direct way to switch, but through PowerShell we can do that. Below is the PowerShell command to switch from Classic to Claims Authentication in SharePoint 2010.
Add-PSSnapin Microsoft.SharePoint.PowerShell

$webApp = Get-SPWebApplication “http://web application URL/”

$webApp.UseClaimsAuthentication = 1

$webApp.Update()

$webApp.ProvisionGlobally()

$webApp.MigrateUsers($True)

$webApp.MigrateUsers($True) : This is to migrate the existing users to claims else the existing users will not able to login to the existing site.

You can also check an article on Single Sign-on in SharePoint 2010.

No comments:

Post a Comment