Wednesday, 12 September 2012

Convert SharePoint classic web application to claims based web application

To convert a classic mode web application to claims based web application, the following steps needs to be done
1) Open SharePoint 2010 powershell command prompt as administrator
2) Run the following commands
  • $webApp = Get-SPWebApplication “http://sp2010
  • $webApp.UseClaimsAuthentication = $True
  • $webApp.Update()
3) Go to central administration-> Application Management -> Site Collection Administrators
4) Select each site collection, delete and readd the primary and secondary site collection administrators
5) Open site collections in IE. If you get access denied message then run the following commands
  • $webApp = Get-SPWebApplication “http://sp2010
  • $webApp.MigrateUsers($True)
6) Wait for some time till the migrate users timer job finishes before you open site collection in IE