0

user profile service connection sync

I was able to select our FQDN and AD User accounts group. But it is still not syncing. When I set up the connection it gave me no errors. Containers populated correctly and I selected only the one that contained our User accounts.

When I view Event Viewer I am seeing a bunch of errors:

Event ID 8077 Event ID 6398 LMT Repopulation Job Event ID 6398 Feed Cache Repopulation Job

User Profile Service has stopped. No option Central Admin to start it. User Profile Service has stopped

I have found several articles that provide a solution but nothing has worked so far. Currently MS Services show User Profile Service as Running and the account is set to Local System.

I also want to make note that when Get-CacheHost is said AppFabricCachingService is UP. Get-CacheClusterHealth is giving a 4.17 fraction for Healthy status on everything. Not sure if this is related or not. Any help would be greatly appreciated! Thank you!

1 Answer 1

0

No option Central Admin to start it.

Probably, you are at "Services in Farm" page.
Try to navigate "Services on Server" page - Start option should be there.

You can also start it from SharePoint Management Shell, smth like:

$srv = Get-SPServiceInstance | ? { $_.TypeName -eq "User Profile Service" -or $_.Service -eq "UserProfileService" }; $srv | % {Write-Host $_.Server $_.Status; if ($_.Status -ne "Online") {Start-SPServiceInstance $_}; } 

Then, go to Monitoring - Check job status - filter by Job Definition: "User Profile Service Application - User Profile ActiveDirectory Import Job" and make sure that this task is completed successfully.

After that, look at the ULS logs. You can filter it by rows containing UserProfileADImportJob or Category: User Profiles. There will be hints to the root cause.

5
  • I ran the script you provided. Status on Management Shell said it was Provisioning I went to Services on Server page as you mentioned and that status there now Started, but Compliant says No (Fix) and now I see the option to Stop. (Side note: If I click Fix, it just stops the service again.) I also went to Monitor - Check job status and it does show that jobs as Succeeded. However, I am still showing 5 users, all of which I manually added to Sharepoint. Is it possible that it just won't show more than that until I share the new URL to the new Sharepoint to other users? Commented Dec 26, 2024 at 15:09
  • Status of User Profile Service should be Online and Compliant on all servers with Frontend\Application\SingleServer MinRoles. Which MinRole does your server has? Commented Dec 27, 2024 at 19:25
  • Also, the best option would be to look at the ULS logs, you can filter it by rows containing UserProfileADImportJob or Category: UserProfiles, then it will become clear how the synchronization went. And - No, SharePoint User Profile Sync does not depend of what sites you shared with what users. It should sync all users from OU you've specified. But previously there was a bug that SP did not synchronize users if they were selected directly by checkboxes in Sync Connection settings. It is better to select only OU. Commented Dec 27, 2024 at 19:32
  • I ran this script "Get-SPServer | Select-Object Name, Role" and got this - Name: DOMAINNAME | Role: SingleServerFarm, Name: exchrelay.domain.com (Exchange Relay) | Role: Invalid. I found the ULS log for UserProfileADImportJob. Everyone entry is the same thing: [User Profile Service Application_UserProfileADImportJob]: Profile Application [Id=eab58352-89de-4fbb-a027-9ca247ca7fbf,Status=Provisioning] is not online. Job run aborted. Commented Dec 31, 2024 at 18:53
  • So, you have your User Profile Service Application stuck in Provisioning state. This could be caused by a ton of a different reasons. If you have User Profile Service started for now then you can start from just trying to re-create User Profile Service Application. Then dig this further depending on the result. Commented Jan 3 at 1:18

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.