.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

User Profile working, but domain in the Account Name field is incorrect

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :SharePoint

Profile import is working with a small set of users from just one OU. The synchronization connection has a Forest Name of "corp.mycompany.com", just like in our current profile settings in MOSS 07.

However, the user profiles created are listed with "corp" as the domain, not "mycompany".

E.g. my profile Account Name shows "corp\eriehl", but it should be "mycompany\eriehl".

How do I update this reserved property to contain the correct value for our domain?

View Complete Post

More Related Resource Links

User Profile Synchronization: Name of user account / id uses wrong Netbios domain name?!

I've got an interesting situation: I've got a domain e.g. FOOBAR.FI. The Netbios domain is due to historical reasons BARFOO. When I use UPS to import accounts from the FOOBAR.FI domain, the user account names in SharePoint are given the id of FOOBAR\<useraccount>. This works so and so. Users are identified and My Sites is fine. However the organizational chart and other fields where you can specify another user don't work as they should. If the manager is specified from AD, the organizational chart works. However, if I edit a profile and check the manager, it's in the form of FOOBAR\<useraccount>. SharePoint highlights this and a tooltip says that the account cannot be found. As a suggestion, it gives BARFOO\<useraccount>, which is found from the AD. All fine and dandy, until you check the organizational chart, which turns out to be empty at this point. This is because in SharePoint there's no user with the name BARFOO\<useraccount>, but only those FOOBAR\<useraccount> users who've been imported from the AD. So bottom line question is: How does UPS select and set the user account name?

User Profile Service account Write to AD Permissions

I followed this guide here (http://www.harbar.net/articles/sp2010ups.aspx) to provision the UPS service in sharepoint 2010. I found the guide very helpful and informative. Everything is working correctly except for the write back to AD I've followed the steps and have assigned the listed permissions to the UPS service account, however I still get permissiong errors in the FIM GUI Our AD is running in a 2008 environment but is in 2003 mode, so I made sure to add the UPS account to Pre Windows 2000 Compatible access built in group and restart the server so that the new group settings would take affect. Do I need to reprovision the UPS service or something? Or am I missing something completely. (Hopefully the latter lol!) Thanks RKB

Import user profile from another domain active directory

Hi, I have SharePoint 2010 running on DomainB andwe have corporate users on DomainA. i need to import users from both domainA and DomainB. I am able to import users from domainB and not able to import users from DomainA. I made a successful connection to both Domain A Ad and DomainB AD in SharePoint 2010 user profile synchronize connections. I am able to sync users only from DomainB (SharePoint 2010 running on domainB) and not able to synchronize profiles from DomainA (outside domain). Is there any additional configuration I need to do. Please help me on this issue. Thanks, Ratna

The specified user account "domain\username" is a local account. Local accounts should only be used

HI Im getting this error when trying to set a new Service account for my performance point services. SharePoint is installed in a single server enviroment. I can´t get a new service account configured and I think this is causing my server to run slowly. Any help would be highly appreciated thanks

User Profile Service - "The specified user or domain group was not found"

Hi there, I had configured the User Profile Service and all was working well (Syncing with AD etc.). However, something has gone wrong. The services still appear to be running; both Forefront Identity Manager services are running, and the services show as 'Started' in Central Administration. The 'My Profile' and 'My Site' options have disappeared though, and browsing to the My Sites page results in an error (Could not load user profile). To make matters much worse, it seems to have also broken the Central Administration site. If I try and go to 'Manage Service Applications' I get another error (The specified user or domain group was not found). This error seems to come up on around half of the pages on the Central Administration site. Looking up the error (abb6b174-0f71-413a-a27a-41cdc87b66d0) in the logs I find this: 09/06/2010 15:35:45.44  w3wp.exe (0x0868)                        0x06A0 SharePoint Portal Server       User Profiles                  cm6y High     User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileA

Hyphens in domain names get trimmed from account names in user profiles

We've been trying to launch an internal deployment of SharePoint 2010 MySites but we've run in to a problem with the user profile import. We've reviewed all of the relevant guidance and have been able to complete an import successfully, but all of the characters before a hyphen in our domain name are getting truncated from the imported username. To illustrate:   PREFIX-BLAH\tristan.watkins becomes BLAH\tristan.watkins after it is imported. When I log in, a new user profile is created for PREFIX-BLAH\tristan.watkins and all of the imported profile data is useless, since it is associated with a non-existent BLAH\tristan.watkins.   I'm assuming this is an issue with the beta version of Forefront Identity Manager 2010 that shipped with SharePoint 2010 beta, but I can't find any information suggesting this is a known issue and for all I know it may actually be a SharePoint issue rather than a problem with FIM. For what it's worth, this was not a problem in SharePoint 2007. Can anyone help?

User Profile -- Last Log Entry - The Parameter is Incorrect


I see an error in the SharedServices Provider serction under UserProfile . It says

LAST LOG Entry : The Parameter is Incorrect

This happened after i turned on search setting and Crawling . Is this anything to worry about ? what is this error message mean?


User Profile -- search for Department not working


I am trying to search for users who are in certain department. E.g HR. But the following returns nothing.

In user profile, I have a field department (property name), I wonder why it returns nothing.


And even when I tried http://mycompany.intra/SearchDEf/Pages/peopleresults.aspx?k=Department, it returns only 47 records. And when I actually look at some of the records, some of them have value in department but some of them are empty. So, I am wondering if it is looking at something else instead of the department field.

Please advice. Thanks in advance.

How can I replace domain user accounts with a general database account?


How can I replace domain user accounts with a general database account?


User Profile Sync with AD - very odd behaviour, some profiles not working


1 x SP WFE, 1 x Dedicated SQL backend

So this has been driving me mad now for over a week....

SharePoint Server 2010 Enterprise trying to sync 3000 users from Active Directory. Everything appears to be setup fine;

- Replicate directory changes granted
- Netbios fix applied with powershell
- SharePoint Sync Service running
- FIM services running (although one does occasionaly stop)
- August Cumulative Update applied

I have created the Service Application and the Connection to AD - choosing the OU's I want to sync.

3000+ user profiles appear to sync correctly, from Central Admin browsing through the users ALL of their profile information is complete and ready to go. No errors in MIISClient.exe or on the server anywhere.

The problem occurs from the front end when we try to add user to SharePoint groups. Seemingly by random one morning a large proportion of the user profiles when you browse for them through the SharePoint interface appear only as DOMAIN\USERNAME with no other profile information available.

If you login with one of these users (having granted them direct access) their login name top right is DOMAIN\USERNAME and in My Settings the profile information is BLANK.

After the user has logged in, 20 minutes later or so their profile information is suddenly avai

User Profile Synchronization, checking if NetBIOS Domain Names was enabled.


After multiple tries I finally got User Profile Synchronization setup... or so I thought.  I was down to the very last step of starting the sync...when I start the synchronization it never starts and the status remains "Idle".  The timer job is not giving me very helpful information and is reporting "Generic Error". 

I had fallowed two separate articles.  I did the Enable NetBIOS domain names but I am unsure which example I did it from or if it took.  Is there a way to check this?  Is there any harm in running it again?  Do I have to restart anything to pick up the changes?

Thank you very much for any information.

Change Service Account for User Profile Service application



I change service account for user profile service application from spfarm to spservice . and then FIM Synchronization Service is stopped and i found this error in event viewer.

"The server encryption keys could not be accessed.

User Action

Verify that the service account has permissions to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Forefront Identity Manager\2010\Synchronization Service

If the problem persists, run setup and restore the encryption keys from backup."

But i tried to set the permission for spservice in registry. Still can't start the FIM Synchronization Service and also the log on as "Account" is changed to spservice .

When I change to spfarm for User Profile Service Application, it is working fine.

Please advise me that what do i need to configure for spservice ?



My Profile - View "XXXXXXX" User Profile not working correctly



Our organisation is using SharePoint 2007 SP2. 

We've recently discovered that when a user clicks on another user's name on a standard SharePoint site called "SharePoint Investment Site", they request a link such as...


Which redirects the user to a "My Profile" page with the address...

http://mysite.com/Person.aspx?accountname=microsoft\gatesb&Source=http://sharepointsite.com/sites/12345/_layouts/userdisp.aspx&Force=1&ID=18&Title="SharePoint Investment Site"

On the "My Profile" page, I can see microsoft\gatesb profile. On the top right of the screen I get the following links...

"View SharePoint Investment Site User Info" & "Add to My Colleagues".

Does anyone know why the "User Info" link has got "SharePoint Investment Site" in it? It's passed by userdisp.aspx in the "Title" parameter.

Also, the "User Info" link is to http://sharepointsite.com/sites/12345/_layouts/userdisp.aspx?Force=1&ID=18. Which is the URL for microsoft\gatesb, not "View SharePoint Investment Site User Info".

Can anyone help clear this mess up?


How to authenticate local user usin ldap or non domain authentication



I created one application, and I need to authenticate local user. This user is the user who is login to his/her Personal Computer.. Main thing his that he/she does not in any DOMAIN... I want NON-DOMAIN authentication.. any how.... please help...

Least Privilege: Teach Your Apps To Play Nicely With Windows Vista User Account Control


User Account Control in Windows Vista keeps the OS safe from intentional and accidental configuration changes.

Chris Corio

MSDN Magazine January 2007

Not able to edit user profile in share point


Hi ,

I am new to share point, and not able to edit user profile data in sharepoint2007. I am getting an error "can't edit the property try with user profile services".

I have ran full crawl still getting the same problem. Also let me know how I can fetch data from Active Directory to share point 2007.



What is the best way to create user account for big group of people?


I need to create individual account for a big group of people (around 200) from an Excel spreadsheet. What is the best practice? It will take too much time to create account using web form. I think there must be a way to do it. Please advice. I tried to use Stored procedures created by ASP.NET. NOT SURE whether it is a good idea.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend