Friday, October 22, 2010

Migrate users and permissions from MOSS 2007 FBA to SharePoint 2010 FBA

This post will help you to migrate MOSS 2007 FBA to SharePoint 2010 claims based web application configured with FBA and successfully access the MOSS 2007 FBA site in SharePoint 2010 after migration.

If you have a MOSS 2007 FBA site using ASPNetMemberShip provider, for migrating to SharePoint 2010, you need to update the STS web.config file.

After successfully attaching the content database to the Claims based SharePoint 2010 FBA site, you will be able to add the users “NT users and the FBA users” through the Central Admin site. But when you try to browse to the site, you get access denied using both the NT users and the FBA users.This is because the users trying to login to the Claims based SharePoint 2010 FBA site are not claims aware and the hence you will need to convert the existing Web applications to claims authentication and then migrate users and permissions from MOSS 2007 to SharePoint Server 2010.

Convert the existing Web applications to claims authentication- 

Step 1: Open “SharePoint 2010 Management Shell”
Goto Start=> Clcik All Programs => Expand Microsoft SharePoint 2010 Products => Click on SharePoint 2010 Management Shell.
Step 2: From the Windows PowerShell command prompt, type the following:
$w = Get-SPWebApplication "http://servername:port number/"
$w.UseClaimsAuthentication = 1
$w.Update()
$w.ProvisionGlobally()



For migrating users and permissions from MOSS 2007 to SharePoint Server 2010-


Step 1: Open “SharePoint 2010 Management Shell”
Goto Start=> Clcik All Programs => Expand Microsoft SharePoint 2010 Products => Click on SharePoint 2010 Management Shell.



Step 2: From the Windows PowerShell command prompt, type the following:
$w = Get-SPWebApplication "http://servername:port number/"
$w.MigrateUsers(1)



Special Thanks to Dheeraj Palande

No comments:

Post a Comment