Object not found error
I am trying to edit an email account I imported, but I receive the following error when I open the email tab.
The operation couldn’t be performed because object ‘f&b.java@domainname.com’ couldn’t be found on ‘adc.domainname.com’. Domain name changed for security
This is an imported account mailbox that has been used for years, so I do not think there is an issue with the mailbox or the login ID. The only thing I can think is the ampersand ‘&’ is in someway preventing CP from locating the matching record in the AD controller.
As I said this account has been in use for more than seven years, so I know Exchange and the Active Directory do not have an issue with the ampersand.
Is there a workaround to allow us to use this account?
Do you see anything in the log files? Does the message contain the “f&b” or did you add that?
Log files are located: C:\program files (x86)\know more it\cloudpanel\logs
The f&b is the actual address, just the domain name is changed.
2021-06-21 10:59:59,626 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error retreiving photo: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__34(Object _)
2021-06-21 11:00:03,064 [DEBUG] CloudPanel.Modules.CompanyModules.UsersEditModule – Getting mailbox f&b.java@domainname.com from Exchange
2021-06-21 11:00:05,310 [ERROR] CloudPanel.Modules.CompanyModules.UsersEditModule – Error getting mailbox f&b.java@domainname.com: System.Management.Automation.RemoteException: The operation couldn’t be performed because object ‘f&b.java@domainname.com’ couldn’t be found on ‘adc.domainname.com’.
at CloudPanel.Exchange.Exch2013.Get_Mailbox(String identity)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at CloudPanel.Modules.CompanyModules.UsersEditModule.<>c__DisplayClass1_0.<.ctor>b__5(Object _)
I notice in the error it mentions Exch2013, but ours is an Exchange 2019 server. Don’t know if that is important or that is just your class name?
I also notice your software seems to be substituting & in place of the ampersand. I guess this is preventing it from finding the record in the domain controller.
@marklft 2013 is just a class name since a lot of the powershell cmdlets didn’t change. It should be substituting the & in the URL. We will try to recreate this issue.
Did you manage to recreate this?
@marklft my coworker was working on this and I will have to check with him in the morning. I don’t recall if he had success in recreating it but if it is the & then we should be able to do it easily. I am curious once we get the new version working for you if it is still an issue
-
Retention Policies & Tags
2 years ago
-
Permissions Report Timeout
3 years ago
-
Importing Companies & Users does not create address lists or policies
3 years ago
-
Can't create new user because Load Balancing failed to find a valid mailbox
3 years ago
- 5 Forums
- 714 Topics
- 3,630 Posts
- 0 Online
- 253 Members