Few external domain/trusted domain users not showing in peoplepicker in SharePoint 2013

Posted on 5 October 2018

I have a SharePoint farm where One-Way Trust configured (where the domain SharePoint is in trusts the domain where the user resides).

Issue was, few users were not appearing in peoplepicker while adding to Site collection groups even though those user accounts were valid and enabled in Active Directry.

Below PowerShell Script have used to add those users from trusted domain.

SharePoint URL : http://sharepoint.com
Trusted domain: trusteddomain.com
Username: user1


$web = Get-SPWeb -identity "http://sharepoint.com" 

$web.EnsureUser("user1")

Set-SPUser -Identity "i:0#.w|trusteddomain\user1" -web "http://sharepoint.com" -Group "your site collection group name" 

                        

Thank you.

Comment

Leave Comment below.