On a Publishing website hosted on SharePoint Server we couldn’t see the names of our Users/Contributors but only their Account Name. There is a Service Application Publishing farm that hosts the User Profile Service Application.
When an external contributors hits the user’s name SharePoint is not redirecting to the User Profile My Sites but to the default my site (without User Profile). After a while even the names couldn’t be retrieved by the User Profile Service and only the account names were displayed.
After discussing a while with the teammates it was a known issue at the society…
A little explanation: When the domain NetBIOS name is different than the FQDN of the domain, which is the domain NetBIOS name is different than the first portion of the FQDN. For Example:
When domain naming scheme is set in this manner, the requirements are the following:
NetBiosDomainNamesEnabled is a property that is set on User Profile Synchronization. By default, this value is set to false (0). PowerShell is our tools that we are going to use for setting this true.
For Example:
To use the domain NetBIOS name, a new synchronization connection must be created and used. This means that you can’t use the existing synchronization connection.
If you want to delete the User Profile Synchronization Service Application and begin from scratch please perform the following actions:
19. In the Default Proxy Group section, select whether you want the proxy of this User Profile service application to be a part of the default proxy group on this farm.
Source: http://technet.microsoft.com/en-us/library/ee721052.aspx#createapp
If you don’t want to delete the User Profile Service Application you can use Stefan Bauer’s script to clear your User Profiles
After executing the script of Stefan, you should delete the synchronization connection. It’s possible that User Profile Synchronization fails during the delete operation. The solution is to wait a few seconds (minutes) and he will by himself perform the action.
To complete our stuff we need to perform an IISRESET and recreate a Synchronization Connection to a Directory Service. When SharePoint accepts your credentials please perform a Full Crawl.
If you don’t know how to create a Connection or start the Profile synchronization pleases check:
The Replicate Directory Changes permission enables the synchronization account to read AD DS objects and to discover AD DS objects that have been changed in the domain. The Grant Replicate Directory Changes permission does not enable an account to create, modify or delete AD DS objects.
Use this procedure to grant Replicate Directory Changes permission on a domain to an account.
Source: http://technet.microsoft.com/en-us/library/hh296982.aspx
So with this article you should normally know how to correct the “bug” (we can’t name it error or virus) on User Profile Synchronization Service Application. A little summary:
Hopefully this article will help you into debugging User Profile NetBiosDomainNamesEnabled issue.
Happy SharePointing!
Gokan
Maheshkumar S Tiwari edited Revision 4. Comment: Added tag. Hi Gokan, numbering seems to be incorrect under "To create a User Profile Service application by using Central Administration" section
Gokan Ozcifci edited Revision 3. Comment: Removed TechNet Guru from TAG
Ed Price - MSFT edited Revision 1. Comment: TOC
Ed Price - MSFT edited Original. Comment: Title casing, tags