Thursday 20 February 2014

User Profile (issues when NetBIOS name is different from FQDN)

Problem:
After installing user profile and sync with active directory, all the users prefix is changed to "corp/".
user Profile 1.PNG

For any profile which you click on "Edit My Profile", even without making any changes, the prefix will change to "NTDOMAIN\".
user Profile 2.PNG

Reason:
HBF adctive directory domain name and DNS name is different:​
Set.PNG
Solution:
  • First, delete the AD connections from the user profile manage page.
  • then, run this powershell command
Get-SPServiceApplication
Get-SPServiceApplication.PNG
$upsa = Get-SPServiceApplication -Id <GUID of User Profile Service Application>
$upsa.NetBIOSDomainNamesEnabled = 1
$upsa.Update() 
Replace <GUID of User Profile Service Application> with the service guid above.
NetBIOSDomainNamesEnabled.PNG

  • Restart IIS and OWSTimer
  • Recreate the AD connection
  • Run full import twice
  • Run incremental sync

Use case: Automatically importing user profile pictures to SharePoint 2013 (and 2010)


SP2010 User Profile Service Application Setup and NetBIOSDomainNamesEnabled Issues
http://www.freakingsharepoint.com/2012/12/sp2010-user-profile-service-application.html 

No comments:

Post a Comment