User Profile Propert mapping "disapearing"
We are trying to map a custom property forPreferredName in the user profile store
It allows us to make the change and select and add the custom property.
However at some point the property alwatys gets removed, usually overnight.
Anyone ever had this happen to them and what was the cause.
Is there something about the PreferredName field we arent supposed to alter?
Did you try to map that custom property with some other AD property and observed the behavior you have observed with PreferredName property?
Warm Regards,
Bhavik K Jain
Sr. Software Engineer - SharePoint Administration
Please vote if my reply helps and ensure that you mark a question as Answered once you receive a satisfactory response.
Similar Messages
-
Mapped a custom user profil propertie office 365
Hi,
I created a customer user profil propertie named ="CodeUO" , Type Text.
I have ticked the index and alias box
then I created the property bag for this property.
but when I user the search
https://--------/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'&selectproperties='CodeUO,AccountName'
I have this result:
-<d:element m:type="SP.KeyValue">
<d:Key>CodeUO</d:Key>
<d:Value m:null="true"/>
<d:ValueType>Null</d:ValueType>
</d:element>
Best Regards,
NDYou have to perform a new crawl of the user profiles in order to get values in the properties. So you have new user profile properties which are getting corresponding crawled properties called People:PropertyName, and you have mapped these to two managed
properties in the search schema named CodeUO and AccountName..right?
Thanks,
Mikael Svenson - Search Enthusiast
SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
http://techmikael.blogspot.com/
Author of Working with FAST Search Server 2010 for SharePoint -
Best way to create a conact list from the user profile properties
We have a customer looking for a phone book utility, starting with a table showing main user information and with some search options. We would like o base it on the user profile properties and not to create an indipendent studion record browser porlet.
What is best way to create a conact list from the user profile properties ?I did something like this using search. It can get messy, so you need to take care with it.
* Identify the properties you want to make accessible to search (ex: name, etc.)
- add them to the user property map
- flag them as searchable
* I broke down and used the native server API. I'd still suggest this approach.
* Write some simple code to do vcard export if you like
(my code is all in vb.net)
I really believe this is the "right" approach, but honestly, this was a bit painful and has been
messy for us given some other business issues. (to my chagrin we have users with 2-letter last
names...)
I have code you're welcome to poke at, but it's more or less slapped together and has various
different search methods commented out so you can see how I tinkered w/ the remote vs. server
API.
If you'd like it mail me at [email protected] and I'll send you a zipped copy w/ a
readme. I hope it may be useful to you as both a starting reference. -
SharePoint 2013: Update User Profile Properties is giving error
Hello all SharePoint Gurus - I am trying to update the User Profile Properties. The update I am trying is to
Property Mapping for Synchronization. Mapping mobile property of AD to the User Profile Property Mobile Phone.
It is giving error "An Error occurred when updating a property". Check ULS is not showing any error.
The FIM Service, USer Profile Services and Synchronization Services all are in Started mode. Properly synchronizing with AD.
Please throw some light on this.
Regards,
KhushiHi Khushi,
According to your description, my understanding is that you got an error when you make "Mobile Phone" map to "mobile" from AD properties.
I did a test as your description, in my testing, everything worked well.
Please try to stop User Profile Synchronization service and User profile service, then restart them, compare the result.
There are some similar posts about this issue, pease check if they are useful for you:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/32937e1d-830e-4553-bdfc-23d3ee7f6d07/why-mapping-of-user-profile-property-fails
http://sharepoint.stackexchange.com/questions/34634/mapping-user-properties-fails
If this issue still exists, please check Windows Event Viewer to check there is something about this issue:
How to use Windows Event Viewer:
http://blog.credera.com/technology-insights/microsoft-solutions/troubleshooting-sharepoint-errors/
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
this is my code...
void runQueryButton_Click(object sender, EventArgs e)
// Get the My Sites site collection, ensuring proper disposal
using (SPSite mySitesCollection = new SPSite("http://sp/my"))
//Get the user profile manager
SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
UserProfileManager profileManager = new UserProfileManager(context);
UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
foreach (Property prop in profileManager.Properties)
// if (prop.Name == "Department")
resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;Hi,
Please try with the following code
PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
SPServiceContext context = SPServiceContext.GetContext(site);
UserProfileManager profileManager = new UserProfileManager(context);
foreach (Property prop in profileManager.Properties)
// if (prop.Name == "Department")
resultsLabel.Text += prop.DisplayName
+ ":" + profile[prop.Name].Value + "<br />"; ;
Thanks,
Vivek
Please vote or mark your question answered, if my reply helps you -
How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
any idea?Hi,
From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
Here is sample code for getting user profile properties:
http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
Here is a blog below about accessing data from the provider-host apps:
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Reorder User Profile properties in SharePoint 2013.
Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another section.
Is there any Power Shell command available to move properties between sections?
Regards,Hi Prakash,
Use the script in this blog to retrive user profile properties from a certain section.
http://stevemannspath.blogspot.in/2013/05/sharepoint-20102013-using-powershell-to.html
# Dynamic Settings
$mySiteUrl = "http://mysite.company.net"
$findProperty = "PictureUrl"
Next, we needed to establish the server context:
# Obtain Context based on site
$mySiteHostSite = Get-SPSite $mySiteUrl
$mySiteHostWeb = $mySiteHostSite.OpenWeb()
$context = Get-SPServiceContext $mySiteHostSite
From the context we can instantiate a ProfileManager object and retrieve all of the SharePoint User Profiles:
# Obtain Profiles from the Profile Manager
$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
$AllProfiles = $profileManager.GetEnumerator()
$outputCollection = @()
Next, we loop through the profiles and retrieve the account name (for identification purposes) and the property we are interested in finding:
# Loop through profiles and retrieve the desired property
foreach ($profile in $AllProfiles)
$output = New-Object System.Object
$output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
$output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
$outputCollection += $output
Finally, we list out the collection items that do not have a value for the property (ie. null):
# List all Accounts that do not contain the property
$outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
FULL SCRIPT
# Dynamic Settings
$mySiteUrl = "http://mysite.company.net"
$findProperty = "PictureUrl"
Write-Host "Beginning Processing--`n"
# Obtain Context based on site
$mySiteHostSite = Get-SPSite $mySiteUrl
$mySiteHostWeb = $mySiteHostSite.OpenWeb()
$context = Get-SPServiceContext $mySiteHostSite
# Obtain Profiles from the Profile Manager
$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
$AllProfiles = $profileManager.GetEnumerator()
$outputCollection = @()
# Loop through profiles and retrieve the desired property
foreach ($profile in $AllProfiles)
$output = New-Object System.Object
$output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
$output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
$outputCollection += $output
# List all Accounts that do not contain the property
$outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
In this blog, we can refer the script to create new section and new properties to this section.
http://sergioblogs.blog.co.uk/2013/01/08/powershellscript-to-add-new-user-profile-properties-from-the-term-store-15407371/
# PowerShell Script to Add New User Profile Properties from the Term Store
# Get parameters
$mySiteWebApp = Read-Host "Please enter the MySite Web Application URL"
$termStoreSrvApp = Read-Host "Please enter the Term Store Service Application name"
# Add SharePoint DLLs
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Taxonomy")
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
# Get site collection for MySite
#$sitecollection = Get-SPSite | Where-Object {$_.Url -eq "http://yourMySiteHostURL"}
$sitecollection = Get-SPSite | Where-Object {$_.Url -eq $mySiteWebApp}
if($sitecollection -ne $null) {
# Get the taxonomy session
$taxSession = Get-SPTaxonomySession -site $sitecollection
# Get the term store - you will need to amend the value for the correct name of your MMS Name
#$termStore = $taxSession.TermStores["Managed Metadata Service"]
$termStore = $taxSession.TermStores[$termStoreSrvApp]
if($termStore -ne $null) {
# Get the term store group for Swisslo
$termStoreGroup = $termStore.Groups["Name of Term Store"]
# Get the term sets - Preset with examples for terms (Customer, Function, IndustrySegment, Language, Location, Organization), amend as required
$termSetCustomer = $termStoreGroup.TermSets["Customer"]
$termSetFunction = $termStoreGroup.TermSets["Function"]
$termSetIndustrySegment = $termStoreGroup.TermSets["Industry Segment"]
$termSetLanguage = $termStoreGroup.TermSets["Language"]
$termSetLocation = $termStoreGroup.TermSets["Location"]
$termSetOrganization = $termStoreGroup.TermSets["Organization"]
# Get the user profile app - change UPS Name as required
$serviceApplication = Get-SPServiceApplication | ?{$_.TypeName -eq "User Profile Service Application"}
$serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($serviceApplication.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
$userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $serviceContext
$userProfilePropertyManager = $userProfileConfigManager.ProfilePropertyManager
$userProfileTypeProperties = $userProfilePropertyManager.GetProfileTypeProperties([Microsoft.Office.Server.UserProfiles.ProfileType]::User)
$userProfileSubTypeManager = [Microsoft.Office.Server.UserProfiles.ProfileSubTypeManager]::Get($serviceContext)
$userProfile = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
$userProfileProperties = $userProfile.Properties
$ps = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
$pspm = $ps.Properties
#Create new section in User Profiles - set the 'Name of the Section' throughout next chunk of code
Write-Host "Creating new section for 'Name of Section'...."
$allEntries = $userProfileConfigManager.GetPropertiesWithSection();
$sectionExists =$false
foreach ($temp in $allEntries) {
if($temp.Name -eq "Name of Section") {
Write-Host "Section for 'Name of Section' already exists.";
$sectionExists = $true;
$section = $temp
if ($sectionExists -ne $true){
$section = $allEntries.Create($true);
$section.Name = "Name of Section";
$section.ChoiceType = [Microsoft.Office.Server.UserProfiles.ChoiceTypes]::Off;
$section.DisplayName = "Name of Section"
$section.Commit();
Write-Host "Section 'Name of Section' created"
Write-Host "Creating new properties...."
$Privacy = "public"
$PrivacyPolicy = "OptIn"
$coreProperties = $userProfilePropertyManager.GetCoreProperties()
# Setting Custom Properties below, amend names as you did above to match your fields
# Set new Custom Property for "Customer"
$PropertyName = "SLCustomer"
$PropertyDisplayName = "Customer"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetCustomer
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
# Set new Custom Property for "Function"
$PropertyName = "SLFunction"
$PropertyDisplayName = "Function"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetFunction
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
# Set new Custom Property for "Industry Segment"
$PropertyName = "SLIndustrySegment"
$PropertyDisplayName = "Industry Segment"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetIndustrySegment
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
# Set new Custom Property for "Language"
$PropertyName = "SLLanguage"
$PropertyDisplayName = "Language"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetLanguage
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
# Set new Custom Property for "Location"
$PropertyName = "SLLocation"
$PropertyDisplayName = "Location"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetLocation
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
# Set new Custom Property for "Organization"
$PropertyName = "SLOrganization"
$PropertyDisplayName = "Organization"
$newProperty = $coreProperties.Create($false)
$newProperty.Name = $PropertyName
$newProperty.DisplayName = $PropertyDisplayName
$newProperty.Type = "string"
$newProperty.Length = "50"
$newProperty.IsMultivalued = $true
$newProperty.TermSet = $termSetOrganization
# Add the new property
$coreProperties.Add($newProperty)
$profileTypeProp = $userProfileTypeProperties.Create($newProperty)
$profileTypeProp.IsVisibleOnEditor = $true
$profileTypeProp.IsVisibleOnViewer = $true
$userProfileTypeProperties.Add($profileTypeProp)
$profileSubTypeProp = $pspm.Create($profileTypeProp);
$profileSubTypeProp.IsUserEditable = $true
$profileSubTypeProp.DefaultPrivacy = $Privacy
$profileSubTypeProp.AllowPolicyOverride
$pspm.Add($profileSubTypeProp);
Write-Host "Completed"
} else {
#Termstore not found
Write-Host "Unable to connect to term store"
} else {
Write-Host "Unable to connect to MySite Web Application"
Need more effort to change this code to work for your requirement.
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support -
User Profiles properties in SharePoint 2013
Hello Everyone,
Can we set User Profiles properties in SharePoint 2013 ?Most of them, yes. What are you specifically looking to do?
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Unable to read the FBA user user profile properties in Sharepoint 2010
hi,
how to read the FBA user profile properies in code . i have Sharepoint2010 FBA site when i need to read teh FBA user profile
when i am trying read the properties by using
UserProfile CurrentUserProfile = upm.GetUserProfile(i:0#.f|fbamembershipprovider|[email protected])
i am getting soem exception like
unable to read user profiles how to fix this isse
Srinivashi,
thanks for response i have fba data base in my sql server where user user formation will store i am using (http://sharepoint2010fba.codeplex.com/documentation) . i am using user name as email id for user login. at the time of user signup process in
to sharepoint i am storing the user deatils like user name ,password, passwordquestion, answer etc at the same time i am storuing another deatils like firstname last name age sex etc to anothe list which is sharepoint2010 list. user login into sharepoint
site i am getting the user display namelike"#:0|Parvider|[email protected] i need to change this name like "First Name Last Name " how can i do it.. database does not contain any deatils related to First Name Last Name this information extist
in sharepoint list
this is my requirement
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ed543e3c-00e5-4a52-92ee-75f49cd0fbb2/how-to-change-the-user-display-name-in-fba-site-and-place-my-own-display-name-in-sharepoint2010-fba?forum=sharepointdevelopmentprevious#ed543e3c-00e5-4a52-92ee-75f49cd0fbb2
Srinivas -
Modifiying users' profile properties for self-registration
I am trying to create a self-registration page flow in portal 8.1 but cannot seem to get any of the properties of a profile to save. I want users to add in values for address etc after they create a login.
This is the code I have written which seems to work (no exceptions anyway). However when I check the new user through the Admin console the Suffix property of the CustomerProperties profile is still empty. Any ideas? I cannot find any other help after many many searches.
ProfileFactory profFact=new ProfileFactory();
ProfileWrapper profWrap;
CreateUserForm user;
try{
user= (CreateUserForm) getSession().getAttribute("userform");
//nOw add a profile for this user and modify the suffix
profWrap=profFact.getProfile(user.getUsername(),null);
if (profWrap!=null){
profWrap.setProperty("USER","Suffix","Test");
}else{
System.out.println("no profile");
System.out.println(form.getValue());
System.out.println(user.getUsername());
catch(Throwable t)
t.printStackTrace();
}Hi,
if the property is defined in the CustomerProperties set, then this line should be closer:
<snip/>
profWrap.setProperty("CustomerProperties","Suffix","Test");
<snip/>
- Anders M. -
Manage Profile Services - Unable to edit User Properties or User Profiles
SharePoint 2013 - fresh site, with Mysites, and the User Profile Service running. The UPS is ran under a separate account, and the farm account has securityAdmin rights and directory replication rights.
When I enter Manage User Properties, I get a complete list of properties but no way to edit them, the same happens when I go into User Profile Properties, there is no where to edit the users. Has anyone seen this before and if so what step have I missed
in setting the UPS and MySites Up.
Both Administrator and Farm Admin have Administrator rights to the UPS Application, and it's the Profile User Service that's running at the minute not the Profile User Synchronization Service.
Any help would be appreciated.
Thanks
DavidThanks for the reply Adnan, however I think you missed the point. There is no capability to edit the properties, there's no dropdown to select edit form, in any of those areas against any of the properties. I can see them but not edit them.
It must be a permissions problem but I've no idea where it may lie.
Here's how the UPS and Mysites were built:
Created a separate user for the UPS account (UserUPS), and registered it as a Managed Service account.
Added Replicating Directory Changes to the Farm account.
Started the User Profile Service.
Created the UPS application using the UserUPS account for the application pool.
Configured the Directory Import - used SharePoint Active Directory Import.
Created a new Synchronization connection using the Farm account - it worked.
Ran the synchronization - it worked, everything was import.
Went into Manage Profile Service, Under People click on Manage User Profiles, entered a users name, clicked on it when it appeared - nothing, no edit capabilities at all.
So at a loss as to where I've gone wrong?
Ran Add-SPAdmin - it added the Farm account to the configuration db, and when I tried it against the Profile database it complained, basically saying not possible,
I'm out of ideas at the minute and need to get this working so we can use SharePoint to hold a Skills map.
Thanks
David -
I have a two SharePoint 2010 farms, one is the publishing farm and user profile service is running on this farm. I have defined a couple of new custom properties, and after a while these custom properties do not show up at the consumer farm end.
So, on the publishing farm, I can udpate the user profiles with values in these custom properties. However, neither the custom properties nor the values got synchronized to the consumer farm. What puzzled me further is that some of the existing custom properties
exist on the consumer farm, but not the new custom properties I recently added.
1. I have made sure the application pool accounts on both the farms being added to the administrators with full control permission in UPS on the publishing farm.
2. The User Profile Service proxy (connected to the publishing farm UPS application) is associated with all the web applications on the consumer farm.
3. When values in the user profiles on the publishing farm changed, these changes do not get replicated to the consuming farm user profiles. This symptom occurs on both custom and OOB user profile properties.
However, I cannot find any other related information on the web, nor from the ULS logs.Hi,
As I understand, it did not display the new custom properties you defined in the publishing farm at the consumer farm end.
1. Check if the topology Discovery Service Application runs well in consuming farm. In the Central Administration, it is the Application Discovery and load Balancer Service Application, check if it starts.
In the IIS, it is the topology, check if it starts.
2. Check the permissions have been established if you have established consumer farm permissions on Provider Farm before you publish the service application.
1. Go to Central Administration and going to “Manage Service Applications”.
2. Click on “Application Discovery and Load Balancer Service Application” and click “Permissions” from the ribbon.
Your farm GUID should be listed with full permissions.
The article is about Shared Service Architecture in a multi farm environment
http://blogs.msdn.com/b/russmax/archive/2010/05/06/sharepoint-2010-shared-service-architecture-part-2.aspx
Best regards
Sara Fan
TechNet Community Support -
Not able to import User Profile Property via BDC Connection
I want to fill some of the user profile properties via BDC Connection. I already have created more than 50 user profiles which I imported from AD. Now, in order to import profiles properties using BDC, I performed below steps:
a) Ensured Business Data Connectivity and Secure Store are running and used account has Full permission on these services.
b) Created an external content type using SharePoint Designer and created an external list to ensure that data is available:
Set email field as identifier, which is one of the columns in SQL table and is a primary key.
Created Read Item and Read List operations on above ECT.
c) Checked the presence of above ECT in BDC service and ensured it has all necessary permissions i.e. Edit, Execute etc.
d) Configure a new synchronization connection in User profile Service by selecting the same ECT. Here I chose to connect 1:1 mapping and picked up WorkEmail property to return items.
e) Mapped one of the custom property with one of the fields of SQL Server. Here, I ensured they both have same type.
f) Ran Full Synchronize after above steps. On checked, I do not find any data in the mapped properties.
Below are the traces of LOGS:
Profile sync step BusinessConnection (stage BusinessDataCatalogFullImport) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x02DC SharePoint Portal Server User Profiles
ac4iu Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) started execution.
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294209 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Portal Server User Profiles
ac4iq Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294211 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
nasq Medium Entering monitored scope (Timer Job job-upgrade-sites). Parent No 9f354308-7b18-40f3-80d6-c7d0616cd9e5
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Logging
Correlation Data xmnv Medium Name=Timer Job job-upgrade-sites a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:02.67 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
b4ly Medium Leaving Monitored Scope (Timer Job job-upgrade-sites). Execution Time=136.402252241556 a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:04.94 w3wp.exe (0x4440) 0x4070 SharePoint Portal Server Runtime
8gp7 Medium Topology cache updated. (AppDomain: /LM/W3SVC/1712947452/ROOT-1-130740700225995467)
04/21/2015 12:37:05.00 OWSTIMER.EXE (0x337C) 0x1FA0 SharePoint Foundation Monitoring
aeh57 Medium Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
04/21/2015 12:37:05.52 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://172.20.21.163:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation). Parent No
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://ispantest.domainname.local:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc5 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' starting. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc6 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' completed. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=2.03964470344695 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
General aipzw High An exception occurred while writing a service call usage
entry. Exception details: System.ObjectDisposedException: Safe handle has been closed at
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) at Microsoft.Win32.Win32Native.GetTokenInformation(SafeTokenHandle TokenHandle, UInt32 TokenInformationClass, SafeLocalAllocHandle TokenInformation,
UInt32 TokenInformationLength, UInt32& ReturnLength) at System.Security.Principal.WindowsIdentity.GetTokenInformation(SafeTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) at System.Security.Principal.WindowsIdentity.get_User()
at System.Security.Principal.WindowsIdentity.GetName() at System.Security.Principal.WindowsIdentity.get_Name() at Microsoft.SharePoint.Utilities.SPUtili... 08d6992a-9413-4d09-b8f9-bcfb08266cc7Thanks for the very clear answer back. You're a star. Much appreciated and better to know where you stand directly. Have called the helpdesk and are willing to solve and take this one back in, although it will hurt. The macBook Pro continues to be out of reach economically, so it would need to be the white macBook...
Just wanted to check some last items before making final decisions as I am checking an alternative workaround
- my camcorder supports recording on memory stick which can then be read into iMovie without problem. Any idea if memory stick is lower in resolution as normal DV tape recording? If this is comparable I can choose to from now on switch to memory stick. When I record on the stick it is then recognised as MOV.
- is there any other (non apple made) OSX software on the market to facilitate only the USB driven capturing? Hence did any other SW supplier plug this hole? The old windows pc has proven that the camera streams images via the USB port (hence don't at all understand why iMovie cannot just support capturing via USB streaming...!!!!) and I understand it is more that iMovie doesn't support capturing images via USB, but does anybody else at least for the capturing bit?
- You read about Firewire - USB adapters/hubs/convertors. It is however never clear if it would solve this issue. Dead-end street or an option?
- I can capture my archive of old tapes on my old PC and then put them into my Mac. However the capturing SW makes one large file of it and no event is split. Any idea if on import iMovie could automatically split this into different events (based on date or start/stop?)
- final question: does iMovie when capturing video from tapebased camcorder automatically split events based on date or start/stop? Would be silly to make switch and then still find out I need to manually make the cuts.
Very grateful for your support. Just a couple of days left to make final decision... -
How to merge User Profile Service Applications
We have a SP 2010 farm with UPSA and some the users have edited their profile properties in that. We have planned to move the web application from SP 2010 farm to SP 2013 farm which already has a user profile service application in it.
Both the SP2010 and SP2013 farms are using same AD.
What we need after upgrading to SP 2013,
1. The edited user profile properties should be updated in the SP 2013 farm
2. SP 2013 farm should have only one UPSA.
Please help to migrate the UPSA from SP 2010 and merge with the existing 2013 UPSA.
Thanks
RamkumarHi Ramkumar,
Per my knowledge, we cannot merge the two user profile service application.
If you need the custom user properties in your User profile service application in SharePoint 2013, I recommend to create a mapping to export the user properties to AD from SharePoint 2010 user profile service application and then create a mapping to import
the user properties to user profile service application in SharePoint 2013.
http://blogs.msdn.com/b/tehnoonr/archive/2010/11/22/mapping-user-profile-properties-in-sharepoint-2010-to-ldap-attributes.aspx
Or you just need to migrate the User Profile service application from SharePoint 2010 to SharePoint 2013 and use this instead of the existing User Profile service application in SharePoint 2013.
http://technet.microsoft.com/en-us/library/jj839719(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj729795(v=office.15).aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
User Profile custom property not appearing in search crawled property
Actually I have migrated search services from one server to another server in that server I have created new custom user profile property but it is not appearing in search service crawled property any one please help me out in this.
I got the same problem and i fixed it.
If you take a look on all User Profile properties(cutsom or standard) you will note that they are all mapped to the property "ContentsHidden"(in addition of its property).
I concluded that you have to map all user profile properties to "ContentsHidden"
Please mark as usefull if it resolved the problem.
may this post help you
http://moudhafersalhi.com/2014/04/27/user-profile-property-not-appearing-in-search/
Maybe you are looking for
-
Hi, I am having problems with a data transfer process, i am getting the message: Extraction datasource Z_WMS_VRM Prepare for extraction Exceptions in Substep: Extraction Completed Processing terminated When I click the button behind "Excepti
-
How do I get FLAC files from a hard drive into my itunes
I have a library of FLAC and shnf files on a hard drive. How do I get these files (grouped into hundreds of folders) into Itunes?
-
Restoring Broken Links doesn't work
I have a project, unfortunately stored on a network drive, that recently crashed. I also have a copy of the project stored on my computer. The project on my computer has a number of topics listed in the Broken Links folder. Either I'm not understandi
-
Can anyone help me figure out how to capture signatures of my clients on an online application? Topaz signature pad won't work with Mac. Can I do it with the Mac itself or is there an app to help?
-
This happens with the new version of firefox. We have many computers with new fox on it and not the same problem. only certain ones.