Exchange 11g connector : error with 2003 mailbox databases
Hi,
I have installed the Exchange 11g connector in a OIM 11g R2 server. I successfully ran the "Exchange User Mailbox Database Group Lookup Reconciliation" job and recon-ed a mailbox for a specific user (Exchange 2010 mailbox) account using the "Exchange Target Resource User Reconciliation".
But the fun stops there, when I try the execute the "Exchange Target Resource Delete User Reconciliation" job, I get the following error (see #1) in the result. I don't have any new event in the Event viewer. When I check the connector server I see a similar error (see #2). I tried to manually run the powershell command with the connector server user and it works properly (see #3).
The problem seems to be related the Exchange 2003 mailboxes, since when I try to recon a mailbox for a user with a 2003 mailbox, I get a similar "database not found" error. There again, if I check the same user using the service account, I can get it's mailbox.
Any idea what might be the problem ? Any more debugging I can try ?
Thanks
h4. #1 - In the scheduled task result :
org.identityconnectors.framework.common.exceptions.ConnectorException: Problem while PowerShell execution Org.IdentityConnectors.Framework.Common.Exceptions.ConnectorException: Couldn't find database "ORME-DE-COUR\Premier groupe de stockage\Banque de boîtes aux lettres (ORME-DE-COUR)". Make sure you have typed it correctly.
at Org.IdentityConnectors.Exchange.RunSpaceInstance.CheckErrors(IList errors)
at Org.IdentityConnectors.Exchange.RunSpaceInstance.InvokePipeline(Collection`1 commands)
at Org.IdentityConnectors.Exchange.RunSpaceInstance.InvokePipeline(Command item)
at Org.IdentityConnectors.Exchange.Service.Impl.PowerShellExchangeServiceImpl.InvokePipeline(Command cmd)
h4. #2 - In the connector server log :
30/05/2013 10:49:36 AM <INFORMATION>: Class-> ExchangeConnector, Method -> CreateFilterTranslator, Message -> Method Entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> CreateFilterTranslator, Message -> Method Entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> ExchangeConnector, Method -> ExecuteQuery, Message -> Method Entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> ExecuteQuery, Message -> Method Entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> ExchangeUtility, Method -> GetCommand, Message -> Method entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> ExchangeUtility, Method -> GetCommand, Message -> Returning cmd Get-Mailbox
30/05/2013 10:49:36 AM <INFORMATION>: Class-> ExchangeUtility, Method -> GetCommand, Message -> Exiting the method
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> InvokePipeline, Message -> Method Entered
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> InvokePipeline, Message -> PowerShell Command: Get-Mailbox
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> InvokePipeline, Message -> Parameter: IgnoreDefaultScope Value:
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> InvokePipeline, Message -> Parameter: ReadFromDomainController Value:
30/05/2013 10:49:36 AM <INFORMATION>: Class-> PowerShellExchangeServiceImpl, Method -> InvokePipeline, Message -> Parameter: ResultSize Value:Unlimited
ConnectorServer.exe Error: 0 : Org.IdentityConnectors.Framework.Common.Exceptions.ConnectorException: Problem while PowerShell execution Org.IdentityConnectors.Framework.Common.Exceptions.ConnectorException: Couldn't find database "ORME-DE-COUR\Premier groupe de stockage\Banque de boîtes aux lettres (ORME-DE-COUR)". Make sure you have typed it correctly.
at Org.IdentityConnectors.Exchange.RunSpaceInstance.CheckErrors(IList errors)
at Org.IdentityConnectors.Exchange.RunSpaceInstance.InvokePipeline(Collection`1 commands)
at Org.IdentityConnectors.Exchange.RunSpaceInstance.InvokePipeline(Command item)
at Org.IdentityConnectors.Exchange.Service.Impl.PowerShellExchangeServiceImpl.InvokePipeline(Command cmd)
at Org.IdentityConnectors.Exchange.Service.Impl.PowerShellExchangeServiceImpl.InvokePipeline(Command cmd)
at Org.IdentityConnectors.Exchange.Service.Impl.PowerShellExchangeServiceImpl.SearchUser(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options, ObjectClassInfo ocInfo)
at Org.IdentityConnectors.Exchange.Service.Impl.PowerShellExchangeServiceImpl.ExecuteQuery(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options)
at Org.IdentityConnectors.Exchange.ExchangeConnector.ExecuteQuery(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options)
at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.RawSearcherImpl`1.RawSearch(SearchOp`1 search, ObjectClass oclass, Filter filter, ResultsHandler handler, OperationOptions options)
at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.RawSearcherImpl`1.RawSearch(Object search, ObjectClass oclass, Filter filter, ResultsHandler handler, OperationOptions options)
at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.SearchImpl.Search(ObjectClass oclass, Filter originalFilter, ResultsHandler handler, OperationOptions options)
at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.ConnectorAPIOperationRunnerProxy.Invoke(Object proxy, MethodInfo method, Object[] args)
at ___proxy1.Search(ObjectClass , Filter , ResultsHandler , OperationOptions )
at Org.IdentityConnectors.Framework.Impl.Server.ConnectionProcessor.ProcessOperationRequest(OperationRequest request)
DateTime=2013-05-30T14:49:37.1880494Z
h4. #3 - Powershell using the service account
Get a 2003 database
[PS] C:\Windows\system32>Get-MailboxDatabase "ORME-DE-COUR\Premier groupe de stockage\Banque de boîtes aux lettres (ORME-DE-COUR)"
Name Server Recovery ReplicationType
Banque de boîtes aux lettre... ORME-DE-COUR False None
Get a 2003 mailbox
[PS] C:\Windows\system32>Get-Mailbox -Filter "DisplayName -eq 'Marchand Robert 0'"
Name Alias ServerName ProhibitSendQuota
marchanr marchanr orme-de-cour unlimited
Edited by: SG on May 30, 2013 11:57 AM
Edited by: SG on May 30, 2013 1:41 PM