Error creating new company
Hi All,
Need help with creating a new company
System.DirectoryServices.AccountManagement.MultipleMatchesException: Multiple principals contain a matching Identity.
at System.DirectoryServices.AccountManagement.ADStoreCtx.FindPrincipalByIdentRefHelper(Type principalType, String urnScheme, String urnValue, DateTime referenceDate, Boolean useSidHistory)
at System.DirectoryServices.AccountManagement.ADStoreCtx.FindPrincipalByIdentRef(Type principalType, String urnScheme, String urnValue, DateTime referenceDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADGroups.AddGroup(String identity, String addingGroupIdentity)
[2018-09-10 11:16:02,392] | ERROR | CloudPanel.Modules.CompaniesModule| Error creating company: System.DirectoryServices.AccountManagement.MultipleMatchesException: Multiple principals contain a matching Identity.
at System.DirectoryServices.AccountManagement.ADStoreCtx.FindPrincipalByIdentRefHelper(Type principalType, String urnScheme, String urnValue, DateTime referenceDate, Boolean useSidHistory)
at System.DirectoryServices.AccountManagement.ADStoreCtx.FindPrincipalByIdentRef(Type principalType, String urnScheme, String urnValue, DateTime referenceDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at CloudPanel.ActiveDirectory.ADGroups.AddGroup(String identity, String addingGroupIdentity)
at CloudPanel.Modules.CompaniesModule.<.ctor>b__1_4(Object _)
Regards
Michael
Fixed the problem, i had 2 groups named AllTSUsers@hosting, renamed 1 and all working
- 5 Forums
- 717 Topics
- 3,651 Posts
- 1 Online
- 260 Members