Access Denied for Users after Database Migration from SharePoint 2010 to SharePoint 2013

When I migrated the content databases from SharePoint 2010 to SharePoint 2013, a lot of standard users with Read-Only permissions could not access the SharePoint 2013 site. They got a great big dirty error of ‘Access Denied’. The user was allowed to request access, but even if access was granted, they were still faced with access denied.

After crawling through Google, I came across a good article. You can find it here.

Basically, the users need to be migrated. This can be done with SharePoint 2013 management shell.

First of all, you need to change ‘classic mode’ into ‘claims mode’.

$wa = Get-SPWebApplication -identity http://YourSiteHere
$wa.UseClaimsAuthentication = $true
$wa.Update(
)

I thought I could get away with just using this command, but on the article there is another one where you need to actually migrate the users.

$wa = Get-SPWebApplication -identity http://YourSiteHere
$wa.MigrateUsers($true)

Finish this with an IISReset. Then get a user who was getting the access denied message to try again.

Advertisements

One thought on “Access Denied for Users after Database Migration from SharePoint 2010 to SharePoint 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s