Sorry for creating a new thread but I can't add a comment to the original thread here.
Just wanna know if it's possible to use UPN instead of SAM account (domain\user)? I.e:
$wa = Get-SPWebApplication http://yourWebAppUrl $acc = 'UPN'
Our users login via email (UPN) + password, rather than using domain\user.
Here's what I've got:
$wa = Get-SPWebApplication https://yourWebAppURL $acc = "domain\farm admin" $arguments = New-Object Microsoft.SharePoint.Administration.SPWebApplication+SPMigrateUserParameters $arguments.AddDatabaseToMigrate($wa.ContentDatabases) $wa.MigrateUsersToClaims($acc, $false, $arguments)
I've made sure that my database is in index 4. Checked by running $arguments or just running
Well, I still couldn't login with my account. I could however login with my site collection admin which have setup on the SharePoint site.