Site permissions not working after migrating from moss 2007 to sharepoint 2013

This SharePoint 2013 tutorial explains, how we can resolve access denied issue while migrating from Moss 2007 to SharePoint 2013. Recently we were working on a migration project from Moss 2007 to SharePoint 2013 using the database upgrade approach. We first migrated from moss 2007 to SharePoint 2010 and then from SharePoint 2010 to SharePoint 2013. Then we verify using System Account and everything was appearing correctly. But when users start visiting the site they get access denied error.

The default authentication in SharePoint 2013 is Claims authentication, so when we create a web application in SharePoint 2013 it considers as claims users.

In MOSS 2007 the users come in Domain\UserName format and in SharePoint 2013 the users account format comes as i:0#.w|domain\username. So when SharePoint tried to search the user in the traditional format, it did not find the user and it gave access denied.

So for this, we have to convert claims format. So better is to do this conversion in SharePoint 2010 environment not in SharePoint 2013 directly or not in production directly.

Below is the PowerShell to convert classic mode web applications to claims mode authentication in SharePoint 2010.

$WebAppName = “https://WebApplicationURL”
$wa = get-SPWebApplication $WebAppName
$wa.UseClaimsAuthentication = $true

Below is the PowerShell command which will convert the users to claims format.

$webapplication = Get-SPWebApplication -Identity “https://WebApplicationURL”

Once doing everything, then you can move from SharePoint 2010 to SharePoint 2013.

You  may like following SharePoint migration tutorials:

Hope this will be helpful, but do not try this in the production environment directly.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.