5 Replies Latest reply on Jul 16, 2012 10:05 PM by Leoncio-Oracle

    Exchange Provisioning Issue in OIM 11g

    user123456
      Hi ,
      I am trying to do AD and Exchange provisioning. AD User is getting provisioned succesfully, However Exchange is getting rejected. That particular Create Mailbox is getting rejected, Can you please help me here.

      Here are logs trace,

      Running Create mailbox
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.Exchange.tcExchangeTasks : createMailboxForADUser : Insufficient data, may be all mandatory field are not present : :Does not exist>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================
      >
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <================= Start Stack Trace =======================>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.Exchange.tcExchangeTasks : createMailboxForADUser>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <Does not exist>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <Description : Does not exist>
      <Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.exception.ProvisioningException: Does not exist
      at com.thortech.xl.integration.Exchange.tcExchangeTasks.getObjectByObjectGUID(Unknown Source)
      at com.thortech.xl.integration.Exchange.tcExchangeTasks.createMailboxForADUser(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMEXCCREATEMAILBOX.CREATEMAILBOX(adpMEXCCREATEMAILBOX.java:708)
      at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMEXCCREATEMAILBOX.implementation(adpMEXCCREATEMAILBOX.java:199)
      at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
      at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
      at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2917)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:547)
      at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
      at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
      at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(tcORC.java:844)
      at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(tcORC.java:1159)
      at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(tcOrderItemInfo.java:735)
      at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(tcOrderItemInfo.java:171)
      at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(tcUDProcess.java:235)
      at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
      at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
      at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)
      at com.thortech.xl.dataobj.tcORC.autoDOBSave(tcORC.java:3002)
      at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:526)
      at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:177)
      at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:527)
      at com.thortech.xl.dataobj.tcOIU.eventPostInsert(tcOIU.java:303)
      at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
      at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
      at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)
      at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(tcUserProvisionObject.java:283)
      at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:591)
      at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
      at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:104)
      at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:35)
        • 1. Re: Exchange Provisioning Issue in OIM 11g
          Leoncio-Oracle
          This kind of exception generally comes when one tries to provision Exchange resource object to a user that does not exist in AD or there is insufficient data
          for it. so, exchange provisioning fails.

          Important:
          If one is creating users in AD by provisioning AD User Resource Object then Exchange Resource Object should be made dependent on AD User resource object. So, check if AD has this
          "....<Jul 16, 2012 11:19:08 AM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.Exchange.tcExchangeTasks : createMailboxForADUser : Insufficient data, may be all mandatory field are not present : :Does not exist>...."
          MailboxForADUser field updated or not.


          I hope this helps,
          Thiago Leoncio.
          • 2. Re: Exchange Provisioning Issue in OIM 11g
            user123456
            Now I get this error, What is missing here?

            Running Create mailbox
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================>
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : connectToAvailableAD : Empty Argum
            ents Passed in either Root Context,Admin FQDN,Admin Password,Server Address,Port Number in the IT Resource. >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================
            >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================>
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : connectToAvailableAD : The error o
            ccured in tcADUtilLDAPController::connectToAvailableAD():Empty Arguments Passed in either Root Context,Admin FQDN,Admin Password,Server Address,Port Number in the IT Re
            source. >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <====================================================
            >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <================= Start Stack Trace =======================>
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : connectToAvailableAD>
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <Empty Arguments Passed in either Root Context,Admin FQDN,Admin Password,Server Address,Port Number in t
            he IT Resource. >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <Description : Empty Arguments Passed in either Root Context,Admin FQDN,Admin Password,Server Address,Po
            rt Number in the IT Resource. >
            <Jul 16, 2012 1:25:20 PM EDT> <Error> <OIMCP.MEXC> <BEA-000000> <java.lang.Exception: Empty Arguments Passed in either Root Context,Admin FQDN,Admin Password,Server Add
            ress,Port Number in the IT Resource.
            at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.connectToAvailableAD(Unknown Source)
            at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.search(Unknown Source)
            at com.thortech.xl.integration.Exchange.tcExchangeTasks.getExchMailboxStores(Unknown Source)
            at com.thortech.xl.integration.Exchange.tcExchangeTasks.createMailboxForADUser(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMEXCCREATEMAILBOX.CREATEMAILBOX(adpMEXCCREATEMAILBOX.java:625)
            at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMEXCCREATEMAILBOX.implementation(adpMEXCCREATEMAILBOX.java:188)
            at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
            • 3. Re: Exchange Provisioning Issue in OIM 11g
              Nishith Nayan
              check the It Resource parameter. check for the below attribute
              Root Context,Admin FQDN,Admin Password,Server Address
              • 4. Re: Exchange Provisioning Issue in OIM 11g
                user123456
                I have all values for those fields in IT resource. I am using same IT resource AD and Exchange. AD is getting provisioned where Exchange is not.

                Please help.
                Thanks
                • 5. Re: Exchange Provisioning Issue in OIM 11g
                  Leoncio-Oracle
                  Hi,

                  1- Make sure that Microsoft Active Directory IT resource and Exchange Server IT Resource have these missing details above.
                  For Exchage It Resource: Configuration Lookup==> Lookup.Exchange.Configuration
                  Connector Server Name==>Exchange Connector Server
                  Container==>DC=thiagoleoncio,DC=oracle,DC=com
                  DomainName==>thiagoleoncio.oracle.com
                  ExchangeServerType==>type

                  2-Check Lookup.Exchange.Configuration if it's configured.

                  3-Which exchange version are you using? If it's 2007. You must install the Remote Manager for Microsoft Exchange 2007 as described into page 51 of this doc(docs.oracle.com/cd/E11223_01/doc.910/e11198.pdf)

                  Oracle® Identity Manager
                  Connector Guide for Microsoft Exchange
                  Release 9.1.1
                  E11198-13

                  or

                  other details:
                  The connector requires the deployment of a Microsoft Active
                  Directory User Management connector. The user account data is
                  stored in Microsoft Active Directory. Before you can provision a
                  Microsoft Exchange mailbox for a user, you must create an account for
                  the user in Microsoft Active Directory.

                  And check all the provisioning details(configuration) if you are using the latest Exchange connector(11.1.1.5.0)
                  Oracle® Identity Manager
                  Connector Guide for Microsoft Exchange
                  Release 11.1.1
                  E27258-01


                  Exchange connector is very straight forward if you follow these docs.

                  I hope this helps,
                  Thiago Leoncio.