MIM 2016 SP2 on S2k12R -> in-place upgrade of Windows Server 2012R2 to 2019

This article could be helpful for anyone who is managing existing installation of MIM 2016 SP2 on Windows Server 2012 R2 and need to perform upgrades to extend Microsoft support to year 2026 (end of support for MIM 2016 SP2)

Software versions before upgrade:

  • 2 x MIM 2016 SP2 portals (using SharePoint foundation 2013 ) hosting on Windows Server 2012 R2
  • 1 x MIM 2016 SP Sync server hosting on Windows Server 2012 R2
  • MS SQL 2016 SP3 DB server for portals & sync service, hosting on Windows Server 2012 R2

Expected software versions after upgrade:

  • MIM 2016 SP2 portals – > hosting on Windows Server 2019 & SharePoint 2016
  • MIM 2016 SP Sync server – > hosting on Windows Server 2019
  • MS SQL 2016 DB server – > hosting on Windows Server 2019

Upgrade will be performed in following order

  1. MIM PORTALS servers
  2. MIM Sync Server
  3. MIM DB Server

Upgrade of MIM PORTALS servers

  1. Perform backup of your system
  2. backup config file „Microsoft.ResourceManagement.Service.exe.config“ in installation path, default is – > C:\Program Files\Microsoft Forefront Identity Manager\2010\Service or whole „Service“ folder, it is up to you
  3. Uninstall correctly MIM components via add/remove SW in control panel
  4. Uninstall correctly SharePoint via add/remove SW in control panel
  5. Mount installation media of Server 2019, run setup.exe
  6. Select installation „Desktop Experience“ & „keep app and files“ !
  7. In-place upgrade of OS can takes hours, be patience
  8. Once server is up and you can logon via RDP, install all Windows patches
  9. Verify if server still has configured static DNS servers! My VM’s lost this configuration !
  10. Run MS SQL Agent on DB server!
  11. Install SharePoint 2016 (needs key, this version is not free like it is with SP 2013 Foundation, which ends 2023 ) , follow steps describe on Microsoft web site, it works in this case fine 🙂 – Configure SharePoint for Microsoft Identity Manager 2016 | Microsoft Docs
  12. Use existing MS SQL DB server
  13. In manual above, replace service accounts for already existing accounts used in original MIM/SP installation, same for the name of your portal http://identityportal.xxxxxxx.local/
  14. Once SharePoint installation is done, verify that web site is running
  15. Run MIM installation (follow installation wizard). During the MIM installation, use existing FIM DB used by original portal installation!
  16. If your installation is not already with SP2, install MIM and once it finish, continue with installation and install MIM 2016 SP2 for portal
  17. Overwrite new Microsoft.ResourceManagement.Service.exe.config by old (backup) file, original config in my case contains extra lines for SMS and etc.
  18. Run portal
  19. All settings as workflows, RCDC, email templates, … etc. should be there! because uninstallation did not remove it, 🙂 which is good 🙂
  20. Do some tests, but PORTAL should be ok
  21. Do the same on second MIM PORTAL

Upgrade of MIM SYNC server

  1. Perform backup of your system
  2. Stop MIM Sync service (for MIM SYNC, I did NOT uninstall MIM Sync service!)
  3. Disable schedule tasks, Shutdown MIM PORTALS
  4. Install Windows Server 2019 (in-place) , select installation „Desktop Experience“ & „keep app and files“ !
  5. In-place upgrade of OS can takes hours, be patience
  6. Once server is up and you can logon via RDP, install all Windows patches
  7. Verify if server still has configured static DNS servers! My VM’s lost this configuration !
  8. After install, re-run installation of MIM Sync (will fix MIM Sync after OS in-place), select configure
  9. Re-run SP2 if installation of MIM 2016 is not already with SP2
  10. Verify if Sync console is working
  11. Enable scheduled tasks
  12. Run full , delta sync and verify that all is working fine

Upgrade of DB server

  1. Perform backup of your system
  2. Shutdown MIM Portals and Sync server
  3. Stop all MS SQL services
  4. Install Windows Server 2019 (in-place) , select installation „Desktop Experience“ & „keep app and files“ !
  5. In-place upgrade of OS can takes hours, be patience
  6. Once server is up and you can logon via RDP, install all Windows patches
  7. Verify if server still has configured static DNS servers! My VM’s lost this configuration !
  8. Open MS SQL MGMT and verify that all work fine
  9. Start MIM PORTALS and SYNC server