SharePoint 2019 On-prem User Profiles not populating from AD.

Keith Vollero 116 Reputation points
2020-12-10T19:44:24.9+00:00

I've created an on-prem SP 2019 installation. Everything seems to be working except the User Profile Synchronization. I know there's a valid connection, because when I set up the Synchronization Connection, the 'Populate Containers' box pulls in the accounts and I see the names of all my users. But I run the full import and nothing seems to happen. Profiles are not imported. I get an error in the ULS log, 'Object reference not set to an instance of an object.'

Here's the strange part - Using a normal user account, I open the SharePoint site, and click my name (upper right-hand corner), then 'About me'. SharePoint creates my OneDrive/MySite. THEN my account appears in the Profile! It even has the info from the AD. But running the Profile Sync does nothing.

Trying to solve the problem, I have -
• Re-created the UP Service app from scratch several times.
• Re-created the AD connection.
• Ensured that the account used has Replicating Directory permissions.
• Ensured that the App Pool is running.
• Done the IISRESET at every step of the way.

What am I missing?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,798 questions
{count} votes

Accepted answer
  1. Keith Vollero 116 Reputation points
    2020-12-24T18:24:29.953+00:00

    The problem has been solved.
    After writing the last message about the Timer Job, I started poking around IIS. I investigated all the Service jobs that might be involved with the User Profile sync. All seemed to be in order, but for good measure, I stopped, then restarted, all of those.

    And suddenly, the import ran, pulling in all the Profiles.
    I think it might have been the User Profile Service itself, but could have been any, or a combination.


6 additional answers

Sort by: Most helpful
  1. AzharKhan Dalwai 1 Reputation point
    2022-12-14T18:45:36.06+00:00

    Yes.. for me the issue was Replicate Directory changes permission for missing for UPA sync account.

    0 comments No comments

  2. Andrew Bulle 1 Reputation point
    2022-12-14T18:47:21.077+00:00

    Thanks for prompt response .Will try that .

    0 comments No comments