Support Forums

Error creating new …
 
Notifications
Clear all

Error creating new company

3 Posts
2 Users
1 Likes
5,233 Views
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

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

2 Replies
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Fixed the problem, i had 2 groups named AllTSUsers@hosting, renamed 1 and all working

Reply
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

Glad you got it working!

Reply
Share: