While setting up different SharePoint 2016 farms I’ve been running several times in the same problem. The creation of a users MySite was stucking on “We’re almost ready”. The reason for this is a feature that hasn’t been provisioned. This following solution works for me and is quite easy.
Create a backup copy before editing this file:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\SiteTemplates\SPSPERS\XML\onet.xml
Search in the onet.xml for the following lines: