Hi @Frank Martin,
This is a complex issue involving multiple aspects of SharePoint's user management, workflows, and domain trusts. Here's a systematic approach to addressing your problem:
- Review People Picker Settings
Ensure that the People Picker is configured correctly. Since you've already set it to only fetch users from DomainA, verify that this setting is applied across all site collections:
$webApp = Get-SPWebApplication "http://your-webapp-url"
$webApp.PeoplePickerSettings.SearchActiveDirectoryDomains
- Clear User Caches
Sometimes, SharePoint caches user information, which could be causing issues. Clear the user information list cache:
$webApp = Get-SPWebApplication "http://your-webapp-url"
$webApp.Properties.Remove("vti_userid")
$webApp.Update()
- Check Group Memberships
Sometimes, users may be added to SharePoint groups from DomainB, causing conflicts. Regularly check and clean up groups:
$site = Get-SPSite "http://your-site-url"
$groups = $site.RootWeb.SiteGroups
foreach ($group in $groups) {
$users = $group.Users
foreach ($user in $users) {
if ($user.LoginName -like "DomainB\*") {
Write-Host "Removing $($user.LoginName) from $($group.Name)"
$group.RemoveUser($user)
}
}
}
$site.Dispose()
- Check Logs
Look through the SharePoint ULS logs and Windows Event logs for any errors or warnings related to user synchronization, workflow assignments, or AD interactions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.