We are planning to change the authentication provider from claims-based authentication to classic windows mode. I am planning to do this by preserving the content databases and re-create the web-app with the new authentication. Can anyone tell me how to migrate the users to the new authentication i.e. relinking them with the previous identities on security groups and/or their documents? Any suggestion to do this in a better way would be great as well.
1 Answer
There is a command in PowerShell under a SPWeb object called MigrateUsers. But tbh im not sure if it works the other way, setting it true converts users from classic to claims. One should think setting to false would do the opposite. But I haven't tested it.
Using the Move-SPUser command with a powershell script should do the trick.
Something like this
- I know that the migrateUsers command doesnt work the other way. Thanks for the link, I might be able to extract something out of it and make it work.Hna0002– Hna00022012-03-16 03:15:03 +00:00Commented Mar 16, 2012 at 3:15
- 1Here is a link to a script that go from claims to classic: sharepointegg.blogspot.com/2011/01/…Anders Aune– Anders Aune2012-03-16 07:07:27 +00:00Commented Mar 16, 2012 at 7:07
- Yoohoo! This guy is a rockstar! And so are you! Thanks you!Hna0002– Hna00022012-03-16 17:07:27 +00:00Commented Mar 16, 2012 at 17:07