I've restored a content database into a Sharepoint Server 2019 web application. Any user that does not have Full Control is not able to get in and just get a 'Sorry, this list hasn't been shared with you.'
Most users are allowed permission through Domain\Domain Users active directory group. The site works and admins are able to use and browse. I've run the Active Directory Import with default mappings. I'm using claims authentication through windows auth.
If I remove and re-add the user or group then they are able to see the site fine.
Is there a way to update all the users and groups so they're able to access? Does the AD import need to be updated?
I've run
Convert-SPWebApplication -Identity "http://sharepoint" -From Legacy -To Claims -RetainPermissions
and
$WebAppName = "http://sharepoint"
$wa = get-SPWebApplication $WebAppName
$wa.UseClaimsAuthentication = $true
$wa.Update()
$account = "domain\admin"
$account = (New-SPClaimsPrincipal -identity $account -identitytype 1).ToEncodedString()
$wa = get-SPWebApplication $WebAppName
$zp = $wa.ZonePolicies("Default")
$p = $zp.Add($account,"PSPolicy")
$fc=$wa.PolicyRoles.GetSpecialRole("FullControl")
$p.PolicyRoleBindings.Add($fc)
$wa.Update()
$wa.MigrateUsers($true)
$wa.ProvisionGlobally()
And both log attempting to convert users but error out with:
Configuration error. No migrator configured. 5e01e49e-546b-6002-7dbe-fa0186950239
SPUser '23': Could not get migration data for entity so SKIPPING. Check migrator for further logs
For every user and group.