Skip Ribbon Commands
Skip to main content

Quick Launch

nextFLOW > BLOG > Posts > User Profile Name from Active Directory Import Issue - Wrong User Name
Juni 04
User Profile Name from Active Directory Import Issue - Wrong User Name

Issue:

If you are creating a Active Directory Synchronization Connection to import all user profiles from you domain, the User Name has the wrong Domain Name (mydomain\user01).
 
Reason:
Your Netbios Domain Name is different to your FQDN (Full Qualified Domain Name).
 
Example:
FQDN Domain Name: mydomain.company.com
Netbios Domain Name: mydn
User Logon Name will be: mydn\user01
UserProfile Name from AD Import will be: mydomain\user01
 
Solution:

You have to enable NetBiosDomainNames for SharePoint. If you already have an existing AD User Profile Connection, you have to delete this connection first.
 
1) open the SharePoint Management Shell
 
2) enter "Get-SPServiceApplication" and copy the "Id" of the User Profile Service

3) enter "$mySA = Get-SPServiceApplication 1324567-1234-1234-1234-1234567812 (paste the "Id" here)

4) enter "$mySA.NetBIOSDomainNamesEnabled = 1
 
5) enter "$mySA.update()
 
 
To valdate if "NetBIOSDomainNamesEnabled" is enabled enter: "$mySA.NetBIOSDomainNamesEnabled"
It should be "True" now.
 
Now open SharePoint Central Administration again and re-create the Active Directory Synchronization Connection.

 

Comments

There are no comments for this post.