After successfully migration of content Database from Moss 2007 to SharePoint 2013 via SharePoint 2010 as intermediate.
As part of this regular approach database detach –attach method and migrated the existing Moss 2007 site .Migration was successful and we were able to access the site with the system account. Later we tried with couple of site admin accounts, to our surprise we were getting “ACCESS DENIED” with any other user id.
SharePoint assumes all users to be claim users and renders them so. Therefore, a normal windows user – “Domain\UserName” appears as “i:0#.w|Domain\UserName”.
To convert all window authentication user to claim based authentication:-
Open SharePoint 2013 Management Shell with Administrator account and run the below commands
$wa = get-SPWebApplication $WebAppName
$wa.UseClaimsAuthentication = $true
$wa.Update()
$wa.MigrateUsers($true)
$wa.ProvisionGlobally()
As part of this regular approach database detach –attach method and migrated the existing Moss 2007 site .Migration was successful and we were able to access the site with the system account. Later we tried with couple of site admin accounts, to our surprise we were getting “ACCESS DENIED” with any other user id.
SharePoint assumes all users to be claim users and renders them so. Therefore, a normal windows user – “Domain\UserName” appears as “i:0#.w|Domain\UserName”.
To convert all window authentication user to claim based authentication:-
Open SharePoint 2013 Management Shell with Administrator account and run the below commands
$WebAppName =
"http://"
$wa = get-SPWebApplication $WebAppName
$wa.UseClaimsAuthentication = $true
$wa.Update()
$wa.MigrateUsers($true)
$wa.ProvisionGlobally()
After successful provision, check the user - which will show claim based user and all user will be able to login the site also.
Happy Coding..