Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm working with an extranet that had been configured to use Windows Integrated Authentication in SharePoint 2010. I'd like to move it to FBA authentication, but I'm hung up on the User Profiles. After changing the authentication model for the existing web application to FBA with the AD provider, I have a new user profile for each user.

How can I move the old user profile for the same user over to be associated with the FBA login? I don't need to maintain the old, windows style user profiles after the migration to FBA style logins.

Notes:

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Tom, can you use powershell to read the existing (Windows) profile and then create new profiles for each FBA user with UserProfileManager.CreateUserProfile passing the claims ID.

Then copy the properties from the old profile to the new profile.

Later you can just delete the windows profiles.

Remember to test your search crawl too. You may need to set up an NTLM address for the sps3:// start address.

share|improve this answer
    
Hey Matt, good to see you here! I think this gets me close. The pictureurl and personal site URL properties were tripping me up for some reason I can't remember at the moment. I'll report back when I try it again. –  Tom Resing Nov 30 '11 at 14:08
    
Tom, thanks, I could see that, you may need to transform the URLs so that they work through the claims address. –  Matthew McDermott Nov 30 '11 at 14:23

You should be able to execute the Move-SPUser powershell command which replaces the old stsadm command for migrateuser. http://technet.microsoft.com/en-us/library/ff607729.aspx

This will update the user information list and maintain all user history and security including the personal MySites.

share|improve this answer
    
Hi Mike, Thanks for thinking about it. Have you used Move-SPUser to update profiles from windows to fba accounts? I've tried it many ways, including with a custom IMigrateUsersCallback. I still have two profiles. I must be doing something wrong. -Tom –  Tom Resing Nov 14 '11 at 13:58
    
@TomResing It isn't going to change the profiles, you still have dupes there, and one set will need to be removed. I've seen some scripts in the past that can redo the windows profiles to change the settings for Claims/FBA but if you already have the FBA profiles in there, then I'm not sure it is needed. –  Mike Oryszak Nov 14 '11 at 15:17
    
I'm confused when you say it isn't going to change the profiles. What do you mean by "This will update the profiles"? –  Tom Resing Nov 14 '11 at 19:40
    
Sorry for the slip up. The command was built for Foundation, and doesn't take the profiles into account. In my initial answer I meant to say User Information List, but I put profiles. It doesn't change the profiles. From what I understand, your users already have a Windows and a FBA profile. This will repoint all of their site level history and security to the new FBA account. When they log in with their FBA account, their user object should reference the FBA user profile. –  Mike Oryszak Nov 14 '11 at 19:47
    
Don't worry about it. I've made the same mistake a number of times over the years thinking there was some help for user profiles. I was just hoping someone would have an answer, even if it was manual instuctions for how to move the personal sites over. Thanks for updating your answer. –  Tom Resing Nov 14 '11 at 19:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.