[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • Last Modified:

mysettings and myprofile inconsistent

I have a problem for some users on sharepoint 2010. Their my settings information is different than their my profile information. My understanding is the my profile information is read from the user profile DB and the mysettings information is read from the user information list. A user profile to sharepoint full sync is run to update the user information list DB from the user profile DB.
I would expect for one to overwrite the other but this seems not to be the case. Updates are working fine for other users and new users. I am suspicious that something may have been manually deleted in the past with this in mind how can I resolve this and some insight into which DB overwrites which would be good.
0
Sid_F
Asked:
Sid_F
  • 11
  • 7
1 Solution
 
Justin SmithSr. System EngineerCommented:
Hello again.  How many users are affected?  What fields are inconsistent?
0
 
Sid_FAuthor Commented:
Hello. Not sure at the moment how many users. I am working with one user.  The about me field is consistent and on both sides but the department field is only in mysettings.
I always thought the user profile to sharepoint sync overwrites data in my settings with the data it has in the profiles DB but it seems not to be the case.

The "about me" field actually got synced from the mysettings section back to the my profiles section when a full user profile to sharepoint sync was run.. confused!
0
 
Justin SmithSr. System EngineerCommented:
Please explain how a user is able to edit data in My Settings?  This shouldn't be possible, so I'd like to know the steps.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Sid_FAuthor Commented:
Exactly! the user did not edit the data direct and obviously, the data was entered into the profile the profile sync updated the user information list which my settings looks at. All looks good but at some point a change or deletion or something was done because the two databases are now inconsistent the my profile section contains the correct data (department field is empty) but the mysettings field contains some of the data and its own data (department field contains info)

They are either inconsistent or else the department field are not set to populate now but were before
0
 
Sid_FAuthor Commented:
made mistake in above post
Exactly! the user did not edit the data direct and obviously could not. The data was entered into the profile the profile sync updated the user information list which my settings looks at. All looks good but at some point a change or deletion or something was done because the two databases are now inconsistent the my profile section contains the correct data (department field is empty) but the mysettings field contains some of the data and its own data (department field contains info)

They are either inconsistent or else the department field are not set to populate now but were before
0
 
Justin SmithSr. System EngineerCommented:
Does anything change if you run this:

Set-SPUser -Identity 'domain\user' -Web "http://urlofsite" -SyncFromAD
0
 
Sid_FAuthor Commented:
Can you tell me what this is doing before I run it and is the http://urlofsite the main site or the users mysite
0
 
Justin SmithSr. System EngineerCommented:
It syncs user data from AD, to the site user info list, for that particular user.  http://urlofsite is the URL of the site where the MySettings info is wrong.
0
 
Justin SmithSr. System EngineerCommented:
Typical flow of information is AD -> Profile DB -> Sites.  That command makes it a one-time AD -> Site.
0
 
Sid_FAuthor Commented:
The url the user gets when they go to mysettings is http://companyintranet/_layouts/userdisp.aspx?Force=True&ID=230&Source=http%3A%2F%2Fcompanyintranet%2FPages%2FHome%2Easpx
I presume this is not the correct address to enter into the above command
0
 
Justin SmithSr. System EngineerCommented:
You would use the URL of the site.  http://companyintranet
0
 
Sid_FAuthor Commented:
ok good, the user had

myprofile                                       mysettings
Role: business dev                        Role: old job
Department: empty                     Department: business

after the command was run they have
myprofile:                                    mysettings
Role:business dev                       Role:business dev
Department: empty                   Department:business

I changed data on my profile for department and ran command again but department does not update on mysettings
0
 
Justin SmithSr. System EngineerCommented:
By "role" are you talking about "Title" ?
0
 
Sid_FAuthor Commented:
Yes sorry title we refer to it as role, bad habit
0
 
Sid_FAuthor Commented:
I ran a full profile to sharepoint sync again and it updated!
0
 
Sid_FAuthor Commented:
Again thanks!
0
 
Sid_FAuthor Commented:
With this command and a full profile to sharepoint sync it worked
0
 
Sid_FAuthor Commented:
Any idea what would of caused this inconsistency between the two to happen in the first place?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 11
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now