We are in the process of migrating to a new domain/datacenter, and have rebuilt a development farm in the new DC. The farm is very simple in that it does not require many services and service apps (State Service for InfoPath, Health/Usage, Logging, Distributed Cache, ASP.NET Session State).
The original farm was setup using the default configuration wizard so all of the services and databases were created even though they were not needed.
After rebuilding the new farm with only what we believe was required, we then decided to use the Backup-SPSite and Restore-SPSite since there are only 3 site collections in the single web application being used. However when trying to access 2 of the 3 restored site collections we were seeing the error "Could Not Load User Profile". We do not require the use of UPS as most of the users accessing the site will be external users that are authenticated via ADFS using SAML and do not use the User Profile Sync, therefore do not want to carry the extra overhead of having the User Profile Service that provides no use for us here.
Just to see if it would resolve the issue, I provisioned the User Profile service with fresh databases without restoring from the previous farm and the issue went away. However if I turn the service off the issue will resurface.
Is there a way to resolve my issue without the use of User Profile Services? We would like to eliminate any unnecessary dependencies to keep the solution simple.