In my new project, the client wants us to convert several web applications from Classic to Claims. I've read many articles on the steps to convert a SharePoint web application from classic mode to claims mode. This MSDN article lists the steps, the gist of which is:
$WebAppName = "http://yourWebAppUrl" $wa = get-SPWebApplication $WebAppName $wa.UseClaimsAuthentication = $true $wa.Update()
But, I also came across another set of steps here, the gist of which is:
$WebAppName = “http://win-hgdsnnuakhv” $account = "WIN-HGDSNNUAKHV\Administrator" $wa = get-SPWebApplication $WebAppName Set-SPwebApplication $wa –AuthenticationProvider (New-SPAuthenticationProvider) –Zone Default
This has been bugging me but which set of steps is the right way to do the migration? And, the MSDN link says that you can't revert to Classic once you've migrated to Claims but I verified that you actually can by setting
UseClaimsAuthentication = $true to
$false. Why would they list something like that if that can actually be done? Can someone please explain to me if I'm seeing it all in the right way or not? Thanks.