MIM Server 2016 for SharePoint 2016 PowerShell Sync Error

Sajith Gopalakrishnan Hema 1,056 Reputation points
2020-09-03T08:04:35.227+00:00

Microsoft Identity Manager Synchronization Service is updated from 4.4.1302.0 to 4.6.263.0 (August 2020 Version) and SharePoint Connector is updated from 4.3.2430.0 to 4.4.1800.1 for SharePoint 2016. However the SharePoint Sync Powershell gives the below error. Please share the latest working SharePointSync Files

22423-20200903-092601.jpg

Microsoft 365 and Office SharePoint Server For business
0 comments No comments
{count} votes

Accepted answer
  1. trevorseward 11,711 Reputation points
    2020-09-03T15:06:23.587+00:00

    I've created a PR to update the PowerShell Module. The PR hasn't been committed, but you can grab the updated file at https://github.com/pnp/PnP-Tools/blob/9f3f0f089e6ab65f9d41653b59064475423b33e5/Solutions/UserProfile.MIMSync/SharePointSync.psm1.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sajith Gopalakrishnan Hema 1,056 Reputation points
    2020-09-06T05:05:25.427+00:00

    When I try to execute the powershell, getting the following error

    22991-2020-09-07-8-48-04.png

    22992-2020-09-07-8-47-10.png

    0 comments No comments

  2. Sajith Gopalakrishnan Hema 1,056 Reputation points
    2020-09-08T13:35:21.073+00:00

    Fixed the above error by updating the code as shown below.

    23138-codefix.png

    The script is working fine. Thanks Trevor for your usual support. Please let us know anything else required.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.