A customer of involontarily gotten a Dynamics 365 Employee portal installed. I had to remove it. It has 21 (!?) solutions which are interdependent. This is how I fixed it.
As always, I start off by trying to find if anyone else has run into the same issue, almost. This guy had with another portal type:
And then my Portal buddy Nick Doelman did some heavy lifting (he actually does!) and sent me this link. It did turn out to be a bit old though. Still useful, but the solutions described in it are not entirely accurate.
First of all, before you do anything else, start by removing the following things from the sitemap (unless you havn’t added more things pointing to Portal components)
1. The entire Portal “Area”
2. The SubArea and Group under Settings for Portal Settings.
So which solutions are we to uninstall? I will take it from the top, in the order I uninstalled them.
When removing KnowledgeManagement I got this error:
The entity with ObjectTypeCode = 10460 was not found in the MetadataCache
Tried different way, after some time, just refreshed and it was gone. Maybe this should be removed earlier. Not entirely sure which entity this was, as it was removed and I didn’t save a metadata reference before starting.
There are two dialogs that
Process/Dialog – Change Password, Removed all Steps. Save & Close
Reset Security Stamp – Removed all steps. Save & Close
17 Portal Timeline
When removing this solution I also got the same weird error: The entity with ObjectTypeCode = 10439 was not found in the MetadataCache.
21 Portal Privacy Extensions