New Setup Problems #259
-
Good Day, Hope that I am not placing this in the wrong location, but did not want to make an issue unless it was needed. I noted that Discussion could be made into Issues, so figured I would start here. We have been using he MS Exchange Connector for some time, but recently it has caused us issues and I come upon the smletsexchangeconnector and moving over to it was a no brainer. Current configuration: I have not been able to get the new connector to ingest any messages, I have set up a new inbox to not disturb the current connector and have a smooth cut over. The only logs that have been created are in the Operations Manager Log with the following error: A Windows Workflow Foundation workflow failed during execution. Workflow Type: SMLets.Exchange.Connector.Resources.RunScript Workflow Identifier: 7bdb4c11-31b8-bf66-e2ef-54de5d109462 Exception Type: System.Management.Automation.RuntimeException Exception Message: Method invocation failed because [Microsoft.Exchange.WebServices.Data.ImpersonatedUserId] does not contain a method named 'new'. Exception Stack: at CallSite.Target(Closure , CallSite , RuntimeType , Object , Object ) My first though was to remove and re-add the MP and restart the configuration. I have looked though the open and solved issue and did not see this issue come up in the past. Thank you for taking the time to look at this and for developing this much needed tool for SCSM. Update I have continued working though out the day and I was able to narrow down the first issue to either a bad password on a run-as account or the use of impersonation. I created a new run-as account for the new mailbox and have been able to successful get new connector to work. I have come across two new errors, the first being when I have the multi-mailbox settings setup (Currently testing with two) I receive the following error: Workflow Type: SMLets.Exchange.Connector.Resources.RunScript Workflow Identifier: 7bdb4c11-31b8-bf66-e2ef-54de5d109462 Exception Type: System.Management.Automation.MethodException Exception Message: Cannot find an overload for "add" and the argument count: "2". Exception Stack: at CallSite.Target(Closure , CallSite , Object , String , Hashtable ) When I remove one of the mailboxes and only keep one in the multi configuration it will pick up the mail but the SR's that are created do not have the templates set that are designated, as well there is no affected or assigned user. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Greetings @Nathan-CPSD! From the looks of things:
What's strange here is that the error says "new" doesn't exist on the Exchange Impersonation Type...which I don't know how that's possible. Take the following 3 line PowerShell example. EWS Path is defined, loaded, and then begin typing out one of the Exchange types in VSCode (or ISE if you prefer): Never the less, I'll see if there is someway I can try and reproduce this. Until then, would it be possible for you to:
|
Beta Was this translation helpful? Give feedback.
Greetings @Nathan-CPSD!
From the looks of things:
smletsexchangeconnector/smletsExchangeConnector.ps1
Lines 4061 to 4065 in 0f3edf7