User Profiles property as search refiners

SharePoint Online:
I have a requirement to refine people search results based on sills. We want to sue the default property SKILLS. I confirmed the property is available but is set as not refinable.
We are trying to setup a managed property using the unused MPN RefinableString00 and map it to the skills property but for some reason the skills property isn't available to be mapped.
Is this an unsupported scenario? If not how can we achieve this?
Daniel
daniel

I know this was dated 2013, but I am attempting to do the exact same thing (Oct 2014) and it's still not working. 
It does work for other crawled properties, but for some reason I can't get it to work with anything related to profiles. This would be a very useful feature. 
You can display "people keywords" as refiners, however it includes all of the interests and "ask me about" data, which is not ideal. 
Christine

Similar Messages

  • Issue in mapping custom user profile property with AD field in SharePoint 2013

    Hello,
    I am trying to map a custom user profile property i created "ADSecurityGroups", type - String, Multivalue with the AD propoerty named "memberOf" via powershell.
    UserProfile Service is up and running, and so is the Synchronization Service. User executing the powershell has full control on the User Profile Service and is the farm administrator.
    Following is the code snippet i grabbed from the internet which i am trying to execute.
    Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction "SilentlyContinue" 
    $url = "http://<servername:port>/" #URL of any site collection that is associated to the user profile service application. 
    $spsProperty = "ADSecurityGroups" #Internal name of the SharePoint user profile property 
    $fimProperty = "memberOf" #Name of the attribute in FIM/LDAP source 
    $connectionName = "UserProfileSyncConnection" #Name of the SharePoint synchronization connection
    $site = Get-SPSite $url
    if ($site) 
        Write-Host "Successfully obtained site reference!"
    else 
        Write-Host "Failed to obtain site reference"
    $serviceContext = Get-SPServiceContext($site)
    if ($serviceContext) 
        Write-Host "Successfully obtained service context!"
    else 
        Write-Host "Failed to obtain service context"
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager) 
        Write-Host "Successfully obtained user profile manager!"
    else 
        Write-Host "Failed to obtain user profile manager"
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection) 
        Write-Host "Successfully obtained synchronization connection!"
    else 
        Write-Host "Failed to obtain user synchronization connection!"
    Write-Host "Adding the attribute mapping..." 
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty) 
    Write-Host "Done!"
    The script is failing with the following error - 
    new-object : Exception calling ".ctor" with "1" argument(s): "UserProfileApplicationNotAvailableException_Logging :: 
    UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 2f9bece3-f39a-498d-874f-145b1470e49c"
    At E:\ADSync.ps1:29 char:14
    + $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigMa ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
    Please let me know if i am missing anything.
    Also advise if this is the correct way to map user profile attribute in SP 2013 ?
    Thanks -
    Girish

    ok no worry,
    try to run the below as it is, i m just copying code from your post.
    Add-PSSnapin Microsoft.Sharepoint.Powershell
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    #Function to get servicecontextfunction Get-SPServiceContext([Microsoft.SharePoint.Administration.SPServiceApplication]
    $profileApp)
    $profileApp = @(Get-SPServiceApplication | ?
    {$_.TypeName -eq "MR_DEV_UserProfileServiceApplication"})[0]
    return [Microsoft.SharePoint.SPServiceContext]::GetContext
    ($profileApp.ServiceApplicationProxyGroup,
    [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $url = "http://sp-appdev:2013" #URL of any site collection that is associated to the user profile service application.
    $spsProperty = "RoomNumber" #Internal name of the SharePoint user profile property
    $fimProperty = "extensionAttribute2" #Name of the attribute in FIM/LDAP source
    $connectionName = "LDAP Sync" #Name of the SharePoint synchronization connection
    #Get UserProfileManager
    $serviceContext = Get-SPServiceContext
    if ($serviceContext)
    {Write-Host "Successfully obtained service context!"}
    else
    {Write-Host "Failed to obtain service context"}
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager)
    {Write-Host "Successfully obtained user profile manager!"}
    else
    {Write-Host "Failed to obtain user profile manager"}
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection)
    {Write-Host "Successfully obtained synchronization connection!"}
    else
    {Write-Host "Failed to obtain user synchronization connection!"}
    Write-Host "Adding the attribute mapping..."
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty)
    Write-Host "Done!"
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Edit User profile Property - grayed out buttons

    I am trying to change the mapping for the Work email property in the User Profile but when I edit the property on the "Edit User Profile Property" page, the Property Mapping for Synchronization's "Remove" button is grayed out as well
    as Add New mappings "Add" button. I am logged on with the Farm account which has admin rights to  the UP.
    ITGirl

    Hi ,
    For the Add New Mapping's "Add" button grayed out, when I change to another/second "Synchronization Connection" from "Source Data Connection" dropdown, then "Add" button will be available.
    For the Property Mapping for Synchronization's "Remove" button grayed out,
    please make sure your Farm account or user account has the following permissions, then check results again.
    http://technet.microsoft.com/en-us/library/ee721049(v=office.15).aspx#MapUserProc
    The user account that performs this procedure is a farm administrator or an administrator of the User Profile service application.
    The user account that performs this procedure is a member of the Administrators group on the computer that is running SharePoint Server.
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to modify the length of a user profile property

    I need to increase the length of a custom user profile property, but the length looks disabled when I try to edit and modify. Is there any way i could modify this by powershell or some other work around where I can increase the lenght of the script?

    You can't increase or decrease the size of one of the properties after they have been created.  You'll need to create a new property and programmatically copy the values from the other property to the new one.  Once that is done you can
    delete the old property.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Set default value for a custom user profile property

    Hello,
    I have a custom user profile property of type boolean. How can I by default set the value to true? OOB the checkbox remains unchecked.
    Any help on this would be appreciated.
    Thanks,
    Neha

    Hi,
    It is not possible out of the box. You can try to create a custom user profile propery programmatically, this article can help you to get started:http://msdn.microsoft.com/en-us/library/ms519896.aspx
    Xue-Mei Chang

  • 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-bcfb08266cc7

    Thanks 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...

  • Sharepoint 2013 - Active Directory Import User Profile Property manager fields

    Hi there,
    I juste encountered actually a little issue regarding the Active Directory Import User Profil.
    Importation seems to work well but I have a little problem regarding the Manager field.
    When I verify a user profil through the sharepoint admin page ("Manage user profil") , I can see the manager field is correctly populated, but if I want to check my profil as a user (personal information), the manager field is not visible.
    With Sharepoint Admin and Manage Profil Properties, I haven't the possibility to modify some settings for the manager.
    For example, Policy parameters is greyed.
    The only way I found to show this field in a user profil is to give the permission "allow users to Edit values ...".... setting I don't want to set.
    Have you already this sort of issue ?
    Thanks for your help/idea.

    Hi Michael,
    I don't remember well what I did exactly regarding this issue because I played a lot with user profil.
    I know I used this powershell script from Sheyia which in fact help me a lot to clean and create a good profil setting.
    http://blogs.technet.com/b/sheyia/archive/2013/10/09/sharepoint-2013-another-way-to-change-order-for-user-profile-properties-via-powershell.aspx
    For example, this script help me to resolve some double entries.
    Let-me know if it help you (or not of course)

  • 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/

  • How to get user data in a user profile portlet

    You would think that this would be easy. Its not?
    This was posted in the wrong forum:
    Re: Interaction (ALUI/WCI) Cutom User Profile Portlet
    "I have a custom portlet that returns user specific information using a portal user profile property. It works great when using current user, which is the logged in user. How can I access the user properties for the profile page owner?
    I searched the dev docs without any success, only references to preferences.
    Thanks in advance for your assistance.."
    I want to know the answer as well. Seems that you shouldn't have to query the IDK for this...
    I see 6.5 has an adaptive tag for this.... sigh. time to upgrade.
    Edited by: Joel Collins on Feb 3, 2009 10:56 AM
    in case anyone tries this in 6.1, I ended up using this:
    string sProfileUserID = portletRequest.GetSettingValue(SettingType.UserInfo, "_ProfileUserID");
    int iProfileUserID = int.Parse(sProfileUserID);
    IObjectQueryRow user = userManager.QuerySingleObject(iProfileUserID);
    IExtendedData extendedData = user.GetExtendedData();
    make sure you check off the right check box on the user information page of the web service.
    Edited by: Joel Collins on Feb 3, 2009 2:12 PM

    Did you search in the forum before posting your question? Every week similar question like yours is being posted. Anyway find below the query.
    SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(EMPNO,';')),';')
    FROM
    SELECT EMPNO,ROW_NUMBER() OVER(PARTITION BY 1 ORDER BY 1) CURR,ROW_NUMBER() OVER(PARTITION BY 1 ORDER BY 1)+1 NEXXT
    FROM EMP
    START WITH CURR=1
    CONNECT BY CURR = PRIOR NEXXT
    Regards,
    Mohana

  • Customizing View in Manage User Profiles page in CA

    Is there a way to add additional fields to the Manage User Profiles section in Central Administration? It is defaulted to Account Name, Preferred Name, and Email. I would like to add one of my custom columns front an center so that when I search for someone
    I see that custom field up front.
    Thanks,
    Brandon

    It is possible. Please refer to:
    http://technet.microsoft.com/en-us/library/cc262327(v=office.14).aspx#create
    Just like any other custom search property you could use for User profiles too:
    http://blogs.technet.com/b/meamcs/archive/2010/12/23/using-a-custom-user-profile-property-for-people-search-results-scopes.aspx
    If you are using Term sets:
    http://www.sharepointsteve.com/2010/10/making-custom-user-profile-properties-searchable-in-sharepoint-2010/ 

  • Exception has been thrown by the target of an invocation error while updating picture in user Profile

    Hi,
    I am working on updating picture of user profile in sharepoint 2013.
    I am getting error "exception has been thrown by the target of an invocation" while creating Thumbnail at the below line.
    "file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });"
    I have added SPUtility.ValidateFormDigest() before calling this method. but no luck.
    Please help me on this.
    Thanks
    Hareesh

    Hi,
    According to your post, my understanding is that you want to update picture in user Profile.
    If we are giving an option to change the Profile picture in our custom component, we need to create 3 different files and update the reference in User Profile property.
    To create Thumbnail, we can use the code as below:
    /// Get sealed function to generate new thumbernails
    public SPFile CreateThumbnail(Bitmap original, int idealWidth, int idealHeight, SPFolder folder, string fileName)
      SPFile file = null;
      Assembly userProfilesAssembly = typeof(UserProfile).Assembly;
    Type userProfilePhotosType = userProfilesAssembly.GetType("Microsoft.Office.Server.UserProfiles.UserProfilePhotos");
      MethodInfo [] mi_methods = userProfilePhotosType.GetMethods(BindingFlags.NonPublic | BindingFlags.Static);
      MethodInfo mi_CreateThumbnail = mi_methods[0];
      if (mi_CreateThumbnail != null)
        file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });
      return file;
    Then we can invoke the method as below:
    using (MemoryStream stream = new MemoryStream(buffer))
    using (Bitmap bitmap = new Bitmap(stream, true))
    CreateThumbnail(bitmap, largeThumbnailSize, largeThumbnailSize, subfolderForPictures, accountName + "_LThumb.jpg");
    CreateThumbnail(bitmap, mediumThumbnailSize, mediumThumbnailSize, subfolderForPictures, accountName + "_MThumb.jpg");
    CreateThumbnail(bitmap, smallThumbnailSize, smallThumbnailSize, subfolderForPictures, accountName + "_SThumb.jpg");
    More information:
    Update User Profile picture programmatically in SharePoint
    Upload User Profile Picture programmatically in SharePoint 2013
    Upload User Profile Pictures Programmatically – SharePoint 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Regional Settings - User Profile Time Zone

    The user profile property time zone will only apply to the users My Site. How can you apply that time zone to the web application or site collection? So that a user from San Francisco will see calendar events on the main intranet in PST, rather than
    CST.

    Hi Peter,
    Per my knowledge, if the time zone in the user profile is different from the time zone in the site, the time displayed in the site will be in the format based on the time zone setting in user profile.
    After changing the time zone in user profile, it needs some time to save the changes back to SharePoint, so there will be some time delay of changing the time format in the site.
    Please also make sure that the Always use my personal settings is selected in user profile.
    Even though the time zone is not changed in the site, the time format will change based on the time zone setting in user profile if the user chooses a different time zone in his user profile.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • 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,
    Khushi

    Hi 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

  • Import a filed value from custom database into User Profile using BCS

    Hi,
    I have a custom DB in SQL with couple of columns.
    I need to import one of the fields (userid) into user profile - custom property.
    Please guide me to make it done.
    My direction seems wrong..since I am new to user profile-BCS concepts.
    I created a custom property in user profile services, while "configure synchronization connections', I clicked on new connection.
    Type: Business connectivity services, selected
    It needs external content type.
    I opened CA through designer, clicked on External Content type, I am able to connect SQLDB and related fields.
    But, I am not sure what to be done?? How to make my task completed.
    Guide me, somebody, please!!
    - GEM

    This should create the External Content Type
    Open SharePoint Designer
    Choose the Site where you want the External Content Type to be created
    Under Site Objects -> Click External Content Types
    In the Ribbon -> Click External Content Types to create a New one
    Provide a name for your ECT
    Click ‘Click here to discover external data sources and define operations’
    Click Add Connection, under Data Source Type choose SQL Server
    Provide the connection properties to your SQL Server
    Under Data Source Explorer, Expand the tables folder and choose the table you want to connect to
    Right Click the Table Name and create a New Read Item Operation
    Under Input Parameters, Select the Primary Key of your table and verify that it is map as the identifier. This is important as this will be the column that will be used to sync BCS data to SharePoint. Click on Finish
    Right Click the Table Name again and create a New Read List Operation. Follow the steps on K
    OPTIONAL: Once done you can create an external Lists based on the content type to verify if you are able to pull data from your External Source
    You can verify if the list is created by going to the site where you have deployed the External List. If you encounter a “Access denied by Business Data Connectivity, you can resolve this by going to Central Administration -> Application Management ->
    Manage Service Applications -> Business Data Connectivity Service, choose the External Content Type you have created -> Click Set Object Permissions -> Add the account that your are using and Set ‘Execute & Set Permissions’. Refresh the external
    list page.
    This will create the connection between the BCS properties and the Custom User Properties which are mapped to BCS.
    To create a synchronization connection follow the steps below
    Go to Application Management -> Manage Service Application -> User Profile Service -> Configure Synchronization Connections
    Click Create new Connection
    Provide a connection name for your connection
    Under Type, choose Business Data Connectivity
    Under Business Data Connectivity Entity, choose the External Content Type created on the BCS Step
    Choose the property to identity the 1:1 mapping, this is a unique column that should exist on both the BCS Data and the SharePoint User Profile Properties.
    This part will create the Custom User Profile Property to hold the BCS Data
    Go to Central Administration
    Under Application Management click Manage Service Application
    Click User Profile Service Application
    Click Manage User Properties then select New Property
    Fill the necessary fields
    Under Add New Mapping, select the BCS Sync connection you have created above and the field from SQL where you want to map this property
    Run Profile Synchronization
    Artificial intelligence can never beat natural stupidity.

  • Server 2012 R2 user profile disks and outlook search not working

    Hi,
    I`m having a problem with my setup for quite some time now with Windows Search and indexing the outlook OST files.
    I`m using user profile disks in my setup but it seems that Windows Search can`t index the user profile disks, hence when i`m searching in outlook (the OST file is located in the user profile disk) with windows search enabled i`m not getting any results because
    it can`t index the OST file.
    If I don`t use the disks then windows search works fine but because i`m using clustered TS servers I need the profile disks and I don`t want to go back to redirects if possible..
    At the moment I`ve disabled Windows Search which forces outlook to search online, it works but is slow..

    Next issue that popped up, after the user logs off it will deleted the indexed data and start over the next time the user logs on..
    Any fix for that?
    There are three other Technet threads describing the same exact problem about indexing data being deleted when a user logs off from RDS. I'm experiencing this bug also and haven't found anything to fix it yet.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dffeb258-b985-452b-82f3-b66b950b98b6/user-profile-disks-with-windows-search?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/e6d4e3e6-37ef-488c-86ac-d135e3f2353f/windows-search-index-and-user-profile-disks?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dc6328e9-96dc-4377-a23f-0fb7020e5daa/indexing-user-profile-disk-on-a-file-server-or-on-the-rdsh-server?forum=winserverTS
    my PC Techs http://www.mypctechs.com

Maybe you are looking for