Table of Contents


While working with the MIM and User Profile services in SharePoint Server 2016, the Management Agent (ADMA, SPMA) was deleted and the MIM server and SharePoint Connector were uninstalled as well.

After re-installing the MIM Server and SharePoint Connector, while trying to re-configure the Microsoft Identity Manager (MIM) for User Profile service in SharePoint Server 2016, it sends the following:


The property 'name' cannot be found on this object. Verify that the property

exists and can be set.

At F:\temp\mim\SyncFiles\SharePointSync.psm1:120 char:5

+     $ =

$DefaultNamingContext.distinguishedName.ToStrin ...



    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : PropertyNotFound


Same error appears for 'dn', 'name', 'guid', 'inclusion', 'exclusion' properties a couple of times.


Tried different things but could not get it. Finally, Trevor helped to fix the issue.



When you run the PowerShell script to install the configuration files, during configuration it updates the MA-ADMA.xml, MA-SPMA.xml and MV.xml with the values you provide in the installation script, i.e. DN, OU, etc.


If you are trying to re-use these XML files (MA-ADMA.xml, MA-SPMA.xml, MV.xml), then it will throw the error mentioned above because these fields are already updated in the files.



Now you have two options to fix this issue:

  1. Download fresh files from the GitHub site and use them for installation. This is best practice because you will get the latest updates if any.
  2. You can restore it from the backup. If you see the location of the sync files folder, you will see the MS-ADMA.xml.bak. Rename it and use it.