- SharePoint Farm installed in domain1.com
- All company users are registered in domaininternal.com
- Requirement: Add users from domaininternal.com to SharePoint site collection which is running in domain1.com
Run this on Sharepoint PowerShell:
stsadm.exe -o setproperty -url
Important: LoginName is the login name of user who is domain administrator or added to domain admin group, the command will run otherwise but the results will be be as desired.
Good References for this: