Install Microsoft Identity Manager for User Profiles in SharePoint Servers 2016 and 2019
The solutions files referenced in this article are available for download here. You will need a GitHub account for access. See the section 'Download the solutions files that you need' for more details. > Microsoft Identity Manager 2016 is available for download from the Microsoft Volume Licensing Center. (Log in and search on the product name.) > On your MIM server, be sure to install KB3092179.
What is Microsoft Identity Manager?
Previous versions of SharePoint Server had a built-in copy of ForeFront Identity Manager (FIM) that ran inside SharePoint Server. That version of FIM powered the User Profile Synchronization for products like SharePoint Server 2010 and SharePoint Server 2013. But in SharePoint Server 2016, FIM has been removed in favor of Microsoft Identity Manager, which is the successor to the FIM technology. MIM is a separate server technology (not built-in to SharePoint Server). That means, if you have MIM running in your company, more than one SharePoint Server 2016 farm can rely upon it.
It's also important to note, here, that Active Directory Import (sometimes called Active Directory Direct Import) is also included with SharePoint Server 2016, and is a User Profile Synchronization alternative that will not need a separate server installation. This means that SharePoint Server 2016 offers two options for User Profile Sync.
Which option is right for you?
|Microsoft Identity Management server
||Active Directory Import
||1. Flexibility allows for customized import.
2. Can be customized for bidirectional flow.
3. Imports user profile photos automatically.
4. Supports non-Active Directory LDAP sources.
5. Multi-forest scenarios are supported.
|1. Very fast and performant.
2. Known to be reliable (used by Office 365).
3. Configurable inside of Central Administration. (Less complex.)
||1. A separate MIM server is recommended for use with your SharePoint farm.
2. The more customized the more complex the architecture, deployment, and management.
|1. Import is unidirectional (changes go from Active Directory to SharePoint Server Profile).
2. Import from a single Active Directory forest only.
3. Does not import user photos.
4. Supports Active Directory LDAP only.
5. Multi-forest scenarios are not supported.
If you need details, or you need to set up Active Directory Import for your SharePoint Server installation? Try these steps.
Choosing MIM for use with SharePoint Server
If you choose MIM, there are some prerequisites of which you should be aware. You will need:
For SharePoint Server 2016, a Windows Server 2012 R2 computer or virtual machine for the installation of MIM components. For SharePoint Server 2019, a Windows Server 2016 computer is required.
SQL Server 2008 or above, to be installed either on the same machine as the MIM components, or remotely.
You'll need to create a service account in your domain to run the MIM Synchronization Service. This account should have the "Log on as a service" and "Run as a service" permissions granted to it on the machine where the MIM Synchronization Service will be installed. (These permissions will normally be assigned automatically during setup of the service.)
If SQL Server is on the same server as MIM, you may use a local account for this service. However, if you use a remote SQL, you must use a domain account. If the account is in another domain from the SQL Server, it must be in the same forest.
A domain user account must be created and permissioned properly for use in the Active Directory Connector.
The account running setup for MIM must be a SQL Server Admin on the instance of SQL Server where the MIM sync database will be hosted. The account must have local administrator permissions on the machine where the MIM Synchronization service will be installed.
Be sure that any accounts you maintain and use for testing/validation of the process have an email address configured in Active Directory. This will help you verify the success of your MIM configuration after import.
Installing Microsoft Identity Manager (MIM)
During these steps, you'll actually install three different elements essential to MIM. The first install will be of the MIM software, itself. You'll also need the SharePoint Management Agent.
First, download and install MIM to the server where you want to install.
Extract the .zip file and double-click Setup.exe. (Setup.exe is usually found in the SynchronizationService folder of the MIM media.)
Click Next > accept the end-user license agreement, and click Next through the feature selection screen. (You don't need to change the default selection.)
The next screen in the wizard will ask you to supply some information about the instance of SQL Server that you want MIM to use. Choose This Computer if SQL Server is local, or type the name of the remote SQL Server instance. Indicate if SQL Server uses the default instance, or type the named instance. Click Next.
Next, you type the credentials you want to use to run the MIM service. You won't need to configure extra permissions or policies in SQL server for this account (whether SQL Server is local or remote).
If you're installing to a remote instance of SQL Server, the SQL Server Native Client must already installed on the MIM server before you install the MIM Synchronization Service.
Next, set up the security groups that are needed for MIM to function. You can leave these as default if you wish, but in that case your security groups will be created on the local machine were MIM is being installed. If you have more than one machine configured to run MIM, you may want to create these security groups in Active Directory (AD). Do this in the same domain as the machines where MIM is configured, and enter the group names into this page of the wizard.
The next step (firewall rules) is optional. We recommend you do not check the firewall rule checkbox.
Click to install MIM.
You may see a Warning here (Warning 25051). Click OK to continue.
Next, the wizard will create a backup of the encryption key set that it has created.
You will need to backup the keys generated at this point if you are to move to another database server. Save these keys to a secure location and make certain you backup the key file along with the database backup so they're both available in a disaster recovery scenario.
MIM installation should complete. You should log off and back onto your server again to ensure the MIM cache is updated.
Once you log on again, ensure the MIM service is running on the server by going to Services (or Start or Windows key> Run > services.msc) and then locating the Forefront Identity Manager Synchronization Service. No mistake. The service name has not changed!
Install the SharePoint Management Agent (Forefront Identity Manager Connector for SharePoint)
SharePoint Management Agent (SPMA) is an essential if you need to connect MIM to your SharePoint Server installation. We'll install and configure it now.
You need to install the SPMA on the same server as is running MIM. Install the latest SPMA bits from here.
Click Download and run the installation. You won't need to make any selections during this installation process.
Restart the Forefront Identity Manager Synchronization Service (again, you can get to this via Start or Windows key > Run > services.msc)
Once the installation completes, check Programs and Features in Control Panel on your MIM server to ensure you see Forefront Identity Manager SharePoint Connector.
Launch the 'Synchronization Service' on the server to be certain that it opens. On a Windows Server 2012 R2 server, you'll find the icon for the Synchronization Service under Apps.
The Synchronization Service Manager will open on your MIM server. At this point you must configure MIM for use with SharePoint Server.
MIM configuration scenarios with SharePoint Server
For configuration steps, please see:
Send feedback about: