다음을 통해 공유


[Quick Fix] An operations error occurred at System.DirectoryServices.AccountManagement.ADStoreCtx.FindPrincipalByIdentRefHelper

As a reference to people running code that is talking to Active Directory and are getting this cryptical message. In most cases it is a permissions issue. Make sure that your code is running under the application pool account (meaning SPSecurity.RunWithElevatedPrivileges) and that this account has the necessary rights to do so on AD.

Comments

  • Anonymous
    February 23, 2014
    Got the error while using ADMT. Found the reason that the trust relationship for the target domain was not created. Once the trust created the error disappeared.