User profile service in SharePoint 2013

Hi,
     I have created multiple list views.I want to assign these views to HR,Finance,Marketing dept,etc.
Can you help me to retrieve the dept from user profile service and  assign to the views.And when the user logged in,it allows only the corresponding view to the person to edit.
Thank you

Hi Aditi, the following links should answer your question:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/8a449a5f-21fd-49a2-bb3c-1912fea79841/switch-views-based-on-a-person-sharepoint-user-groups-in-infopath-2010?forum=sharepointcustomizationprevious
http://sharepoint2010blogsbydebraj.blogspot.com/2011/08/infopath-2010-switching-views-based-on.html
http://www.infopathdev.com/forums/p/22550/78157.aspx
http://sharepoint.stackexchange.com/questions/84363/how-to-hide-sections-of-infopath-form-based-on-group-membership
cameron rautmann

Similar Messages

  • Аdding department export data from a survey list from user profile services in Sharepoint 2013.

    When voting, survey Sharepoint 2013, there is a field created by whom. But the name is not enough. Necessary to add the department name of the profile data in the exported list excel.

    Hi,
    The OOTB feature “Export to Spreadsheet” won’t contain the department in the exported report, we will need to create a custom one programmatically.
    We can use SharePoint Object Model to retrieve the data from the Survey and the User Profile Service, then generate an Excel Spreadsheet with the data we need.
    SharePoint Object Model -
    SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx 
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php 
    More information about
    SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    How to: Work with user profiles and organization profiles by using the server object model in SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj163142(v=office.15).aspx
    For about
    generating an Excel document:
    http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document
    Or you can post another question to
    Excel for Developers for about creating an Excel file programmatically:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Temp-Contract Worker User Profile Synchronization in SharePoint 2013

    Hi All,
    I was wondering if anyone could provide some feedback on what is the best practice for configuring Temp or Contract worker user profile services in SharePoint 2013. We have had lot of issues within MySites when we make these types of workers AD account inactive
    and then active again when they come back on projects. The user profile synchronization does not work correctly and MySites has issues loading the profile etc. Also in the same context are there best practices for Name/Title/Department changes as well. 
    thank you for your feedback!
    AJ
    Ajay Mandal

    Given what you describe I assume you've created a user profile Sync connection filter to remove disabled AD accounts from the user profile sync.  That's why you are running into problems.  When a user is missing from the import their profile is
    deleted within an hour or so, but their MySite isn't deleted for 14 days (to allow time for a manager to clean it off).  If the user is reactivated within the 14 day period their old mySite is still there, but is no longer referenced by the new profile
    that is created.  So When the user goes to their profile it tries to create a new mySite where one already exists.  It can't do that.
    The same thing will happen if you delete the contractor's user account, but then recreate them in AD when they return.  The only way to fix it is to make sure both the profile and mySite site collection in /Personal/ have been deleted before re-adding
    an old contractor.
    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.

  • 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...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Custome Web Form with User profile services

    HI
    I need some input to design webform which contain the data from user profile service and display in text box but using sharepoint 2013 Fiundation Env.
    So please can any one know how to user user profile service with sharepoint 2013 Foundation Versin
    Regards
    Anil

    Hi,
    Please refer to the Client-side people in SharePoint 2013.
    How to: Use the client-side People Picker control
    All you need to do is just add a div tag in your code and some JQuery code.
    <SharePoint:ScriptLink name="clienttemplates.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="clientforms.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="clientpeoplepicker.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="autofill.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="sp.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="sp.runtime.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <SharePoint:ScriptLink name="sp.core.js" runat="server" LoadAfterUI="true" Localizable="false" />
    <div id="peoplePickerDiv"></div>
    Place the above code in ContentPlaceholderMain.
    // Run your custom code when the DOM is ready.
    $(document).ready(function () {
    // Specify the unique ID of the DOM element where the
    // picker will render.
    initializePeoplePicker('peoplePickerDiv');
    // Render and initialize the client-side People Picker.
    function initializePeoplePicker(peoplePickerElementId) {
    // Create a schema to store picker properties, and set the properties.
    var schema = {};
    schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
    schema['SearchPrincipalSource'] = 15;
    schema['ResolvePrincipalSource'] = 15;
    schema['AllowMultipleValues'] = true;
    schema['MaximumEntitySuggestions'] = 50;
    schema['Width'] = '280px';
    // Render and initialize the picker.
    // Pass the ID of the DOM element that contains the picker, an array of initial
    // PickerEntity objects to set the picker value, and a schema that defines
    // picker properties.
    this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
    Please mark it answered, if your problem resolved.

  • User profile service office 365 and infopath

    I'm having a very strange issue with the user profile service and InfoPath 2013 web form.  I am using Office 365. 
    I created a data connection to pre-populate user information using the _vti_bin/UserProfileService.asmx url.
    I can get everything to work when I preview the form within the client, however when I publish the form to a form library I get this error.
    "Warning
    An error occurred
    querying a data source.
    Click OK to resume filling out the form.
    You may want to check your form data for errors.
    Hide error details
    An error occurred while trying
    to connect to a Web service.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation
    ID:c525519c-4385-e07f-85c1-fd6bd35a231f"
    I have been researching the issue and have come across some cause because of looping or authentication?  Is this a known issue?  Fix?

    I've been having the same issue .... and everything I've read seems to indicate this is currently NOT supported on SharePoint Online / O365 sadly.
    See below :
    http://community.office365.com/en-us/forums/154/t/185751.aspx
    Steve

  • How can i start a new user profile service in ordre to replace an old one ?

    hi
    i create a new user profile service in ordre to replace an old one 
    when i use : Get-SPServiceApplication i can see that hi is created but
    when i use Get-SPServiceInstance i can see it i can see only the old one 

    Hi,
    The Get-SPServiceInstance returns the services instance for a specific server or the entire farm. The service instance GUID is unique to every farm and cannot be changed.
    For starting a fresh with the User Profile Service configuration, you can unprovision and re-provision the User Profile Service:
    http://sharepoint.stackexchange.com/questions/16146/deleted-service-application-service-instances-remain
    http://www.harbar.net/articles/sp2010ups2.aspx#ups14
    Best Regards,
    Eric
    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]

  • Attempting to Manage User Profile service results in error messages

    Hello folks. I've been working on this issue for a bit now, and have searched a number of different ways.  Everything I find as a result says "do an iisreset" as the only solution - I've done multiple iisresets and rebooted the server at least twice.
    I've been working on setting up the User Profile service and User Profile Synchronization service.  After a good bit of troubleshooting, I got the Sync service started successfully; I then decided to attempt to get to the user profile service settings
    to begin setting it up for mysites.  When selecting the service to manage it, I get the generic error in the browser, with the correlation ID which points me to these errors in my logs (as provided by ulsviewer, love that app)
    UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    UserProfileServiceAudienceStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    UserProfileServiceImportStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    So far, I'm finding nothing that points to any further troubleshooting past "do an iisreset" or "check that the FIM services are running". I've done plenty of iisresets and the FIM services are running.
    Are there any suggestions for this that aren't just doing an iisreset, because that has not fixed it for me...

    Ok so I was able to fix the issue. 
    I installed the latest CU package (currently April 2012) available here:
    http://technet.microsoft.com/en-us/sharepoint/ff800847
    after it installed, I rebooted the SP server, then ran the SP Products Configuration Wizard, then rebooted again.
    Next, I removed the User Profile service I had previously created, then recreated everything following the instructions here:
    http://sharepointgeorge.com/2010/configuring-the-user-profile-service-in-sharepoint-2010/  to the letter (Gotta make sure you do iisresets at the right places!).
    After all this, my issues went away and I was able to proceed with setting up MySites.

  • How to check user profile service working in sharepoint 2013?

    HI All,
    How to check user profile service working or not in sharepoint 2013? Thanks.

    Hi,
    Select which OU's you want to synchronize, then check if all users in those OU's have a user profile in the user profile service application.
    Nico Martens - MCTS, MCITP
    SharePoint 2010 Infrastructure Consultant / Trainer

  • Initiall SharePoint Server 2013 setup -- unable to manage new User Profile Service Application

    During initial farm setup, creating an initial User Profile Service Application works fine.  However, once it's created, I cannot 'manage' it through the Manage Service Applications page in central
    admin.
    I get a generic error (Sorry, something went wrong / unexpected error) with a correlation ID that doesn't seem to match any ULS log entries. (Yes, I merged logs from all machines in the farm.)
    A Windows event log entry says:
    A failure was reported when trying to invoke a service application: Endpoint Failure
    Also frequent errors in ULS logs:  (see below)
    UserProfileApplicationNotAvailableException     
    User Profile Application      Proxy failed to retrieve partitions from User Profile Application: Micro…
    SPDistributedCache DataCacheException
    I did notice that the file 'ProfileService.svc does not exist in SharePoint's web services app at the URL you see in the error. (below)
    I also found it interesting that the event log error shows 1 active endpoint and 3 failed endpoints.  I have 2 WFEs and 2 app servers.  But I'm only trying to get the user profile service app running on the application
    servers.  I have deleted and recreated this service app several times under various names (deleted/recreated its app pool as well) and wonder if these other failed endpoints could be orphans from previous instances...
    Any thoughts on how I might successfully create this service application?  I've already been Binging my head against a wall long enough that I would have been better off reinstalling the entire farm...  I may still
    do that.
    FYI, my farm came from a slipstreamed SP1 install package, and received the July CU after several other things were already configured, including the already-failed UP service application.
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:11:54 PM 
    Event ID:      8313 
    Task Category:
    Topology 
    Level:         Error 
    Keywords:       
    User:          xyz\sp_farm
    Computer:      spapp1.xyz.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: w3wp 
    Process ID: 4284 
    AppDomain Name: /LM/W3SVC/560632691/ROOT-1-130519915587486075 
    AppDomain ID: 2 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:11:54.738080000Z" /> 
        <EventRecordID>14550</EventRecordID> 
        <Correlation ActivityID="{02A1AC9C-1125-6026-E124-A52653003266}" /> 
        <Execution ProcessID="4284" ThreadID="16072" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">w3wp</Data> 
        <Data Name="int2">4284</Data> 
        <Data Name="string3">/LM/W3SVC/560632691/ROOT-1-130519915587486075</Data> 
        <Data Name="int4">2</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:51:04 PM 
    Event ID:      8313 
    Task Category: Topology 
    Level:         Error 
    Keywords:       
    User:          VANTAGE\sp_farm 
    Computer:      spapp1.vantage.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: OWSTIMER 
    Process ID: 8472 
    AppDomain Name: DefaultDomain 
    AppDomain ID: 1 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:51:04.938901900Z" /> 
        <EventRecordID>14596</EventRecordID> 
        <Correlation /> 
        <Execution ProcessID="8472" ThreadID="17360" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1.vantage.local</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">OWSTIMER</Data> 
        <Data Name="int2">8472</Data> 
        <Data Name="string3">DefaultDomain</Data> 
        <Data Name="int4">1</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    20:22:31.94 SharePoint Portal Server User Profiles cm6y High  
    User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)  
    20:22:38.16 SharePoint Portal Server User Profiles d22b High  
    Failure retrieving application ID for User Profile Application Proxy 'User Profile Service Application': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()  
    20:22:44.25 SharePoint Foundation DistributedCache ah24v High  
    [Forced due to logging gap, cached @ 08/08/2014 20:22:38.16, Original Level: Verbose] DistributedCacheClient TransportProperties- ChannelInitializationTimeout '{0}', ConnectionBufferSize '{1}',                                  
    MaxBufferPoolSize '{2}', MaxBufferSize '{3}', MaxOutputDelay '{4}',ReceiveTimeout '{5}'.  
    20:22:55.26 SharePoint Foundation DistributedCache ah24w Unexpected  
    Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There
    is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been
    granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional
    Information : The client was trying to com...  

    Thanks for the suggestion.  I performed the service restarts, and then an iisreset an the two web servers, and the application server that does not run the services.  Finally, I ran iisreset on the application server that does run the services.
    After performing those steps, I still cannot manage the user profile service application.
    ULS log at the time of the attempt contains User Profile Application Proxy errors (in my original post) and am also noticing the following error:
    08:15:21.17 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:
    This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy()    
    at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ManageUserProfileServiceApplicationBase.OnPreRender(EventArgs e)     at System.Web.UI.Control.PreRenderRecursiveInternal()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean
    includeStag...  

  • Some links and social network features not active in user profile service for some users in sharepoint 2013

    Hi everyone,
    I installed user profile service and synchronize. When I go to my site by administrator user every things is OK.
    But when I login by another user the my site is look like this
    Please guide me to resolve this problem.
    Thanks in advance.

    Can you please check and share mysite setting details. Check for below:
    Create a site collection at the root using the My Site Host template
    Assuming you want users’ MySites to be created at
    http://mySiteHost/personal/[John_Smith], create a Managed Path for the web app. The path should be personal, and the type should be
    Wildcard Inclusion.
    In User Profile Service Application, set My Site Host location to
    http://mySiteHost, and
    Personal Site Location to personal.
    Enable Self-Service Site Creation for the web app
    Check when the timerjob was mysite last executed. Try to manually run them
    Check ULS Log for possible error and share error details with us
    If this helped you resolve your issue, please mark it Answered

  • How does user profile service work if i want to use SharePoint Hybrid

    I plan to use sharepoint hybrid
    I want to know how does the user profile service work
    is it going to use two services ? one is in online ,one is on local ?
    actually i want to use one user profile service both online and onpremises can use

    hookedonlerman wrote:
    but will that replace the use of using up data? (wifi & 3G)
    It sounds as if you don't really understand what "using data" means. Data is not something different from WiFi and 3G, it's something sent over WiFi and 3G. Think of data as water and WiFi and 3G as types of pipes. Some apps need to send and receive data to work. That data can be sent or received in different ways. It can be sent over WiFi or 3G. Both official iPhone carriers in the U.S. have metered data plans. It's sounds as if you're talking about AT&T's 200 mb data plan. WiFi is not provided by your cellular carrier. You can have WiFi from your Internet Service Provider at home or you can access free WiFi at places like McDonalds or Starbucks or paid WiFi at places like airports.
    If you have WiFi turned on on your phone and WiFi is available, the phone will default to WiFi. WiFi is faster than 3G and generally not metered, and is sometimes even free. If you are out of range of WiFi, you would be using 3G to send and receive your data. With a metered plan, you need to keep an eye on how much you are using because if you go over your allowance, you will be charged additional fees.

  • Publishing user profile service application in SharePoint 2010

    Hi,  Can I have a link specific to publishing the user profile service application in a step by step manner in SharePoint 2010. This is quite urgent.

    Hope the below link will be helpful
    http://blogs.msdn.com/b/alimaz/archive/2009/11/09/configuring-user-profile-service-application-in-sharepoint-server-2010.aspx

  • User Profile Services start in all sharepoint servers in farm

    Hi,
    Do we need to start the below services in all sharepoint servers in farm?
    1) User Profile Service
    2) User Profile Synchronization Service 
    Thanks....
     

    Hi,
    The Web Front end Server is the server that is hosting IIS and serves the websites.
    An Application Server  has services on it, for example, like Excel services, Project server, etc..
    A database server simply hosts the SharePoint core db's and the other Content databases.. It just has SQL Server installation on it.
    You only  need to start the User Profile Service and User Profile Synchronization Service in the Application Server in farm.
    Reference:
    http://blogs.technet.com/b/meamcs/archive/2012/05/30/prepare-sharepoint-farm-part-4-install-and-configure-sharepoint-farm-3-tier.aspx
    If you have any problems, please feel free to reply me.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Inserting Images in Database

    Hi, I am using forms6 and database is 8.0.5. I have images stored in a folder say c:\images\. I have a table for item master and the item code is same as the image name in the image folder. Eg : Item code -ABC123 so there is a image jpeg format by th

  • Java.lang.InstantiationException

    My class throws a java.lang.InstantiationException and I can't see why. my class extends an abstract class but should not be abstract itself. My Class_ package com.propylon.core.tests; import org.eclipse.core.runtime.Plugin; import org.osgi.framework

  • HT1657 Please help!! thank you

    How do I look to see how many hours I have left on my rented movie before it expires.

  • Deleted data of info structure

    Hi PP Gurus, As per user's requirement I changed selection field period to day in report MCIS info structure S818. At that time I click ok in warning message of deletion previous data with the business approver's permission. But now he is saying that

  • An example of multicam project

    Hi(Bonjour) everyone. Here's an example of a multitake project done in FCE. The workflow: -We've recorded a straigth 110 bpm audio track on an iPod shuffle for the dancer in Logic. -On set, listening this track, she repeated the choregraphy around 20