Some time ago I changed the SP domain from OldDomain
to NewDomain
but now when trying to access some sites, such as 'CA -> Monitoring: Timer Jobs -> Review job definitions', I get this error:
The specified user or domain group was not found.
even though I'm logged in as a farm admin 'NewDomain\Admin' and everything else seems to be ok. From the error logs, it seems that SP is for some reason trying to look for 'OldDomain\Admin' account (which no longer exists) instead of 'NewDomain\Admin'.
I tried re-running configuration wizard but it would at the end throw the same error. I tried to manually fix the database as described here (and mentioned in this similar question: "The specified user or domain group was not found on SharePoint Server 2010") - no success, even after deleting records containing old account names.
I'm trying to see if changing service accounts will do any good, but when I click on "Configure service accounts" under Security, I get Access denied
error, even though I'm a farm admin with full permissions! I have removed all references to 'OldDomain*' from Managed Accounts and also from Security/Users directly on the config database in SQL Server Management Studio. AD doesn't contain the old domain accounts anymore as well. Still, I keep getting the error when trying to view job definitions.
Here's the full error log after trying to view job definitions:
SPAce PrincipalName OldDomain\Admin cannot be resolved. This ACE will not be effective. System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)
at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()
The SPPersistedObject with Name User Profile Service Application ... failed to initialize with the following error: Microsoft.SharePoint.SPException:
The specified user or domain group was not found. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix)
at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromFullName(String fullName)
at Microsoft.SharePoint.Administration.SPAce`1.GetBinaryId(UTF8Encoding encoding)
at Microsoft.SharePoint.Administration.SPAce`1..ctor(String principalName, String displayName, Byte[] securityIdentifier)
at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, Byte[] securityIdentifier, T grantRightsMask, T denyRightsMask)
at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)
at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.InitializeAcl()
at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
What else could I try?