We are having an issue with the office365 probe, version 2.0,after adding it into our O365 environment but the profile is stuck in the pending state.
See the log entry below.
We also need to know how to disable the inventory of all the email addresses in the system as it is very large and that seems to be slowing down the probe.
Mar 13 11:59:06:721 [Data Collector - <XXXX_ABC_PROD>, office365] Office365Probe :: createInventory :: resource--><XXXX_ABC_PROD>
Mar 13 12:09:11:378 [Data Collector - <XXXX_ABC_PROD>, office365] PERF: DONE: office365 inventory update for <XXXX_ABC_PROD> {Seconds=611.051}
Mar 13 12:09:11:379 [Data Collector - <XXXX_ABC_PROD>, office365] Inventory update failed. Sending resource alarm
Mar 13 12:09:11:379 [Data Collector - <XXXX_ABC_PROD>, office365] (1) error, Inventory update failed for <XXXX_ABC_PROD>: Attempting to add relationship that already exists. '{"source":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization","target":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization::<email_address>","ctdType":"Relationship","id":"40cee54f67a355xxxxxxxxxx296cdc24e38360ba","source":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization","target":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization::<email_address>","typeName":"hasChild"}'
at com.nimsoft.probe.framework.genprobe.GenInventory.handleInventoryUpdateException(GenInventory.java:202)
at com.nimsoft.probe.framework.genprobe.GenInventory.update(GenInventory.java:179)
at com.nimsoft.probe.framework.genprobe.GenSession.updateInventory(GenSession.java:145)
at com.nimsoft.probe.framework.genprobe.Office365Session.updateInventory(Office365Session.java:19)
at com.nimsoft.probe.common.ctd.CtdSession.doInventoryUpdate(CtdSession.java:257)
at com.nimsoft.probe.framework.genprobe.Office365DataCollector.executeSessionUpdateInventory(Office365DataCollector.java:33)
at com.nimsoft.probe.common.ctd.ProbeDataCollector.execute(ProbeDataCollector.java:215)
at com.nimsoft.probe.framework.genprobe.GenProbeDataCollector.execute(GenProbeDataCollector.java:36)
at com.nimsoft.vm.collector.DataCollector.run(DataCollector.java:151)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.IllegalArgumentException: Attempting to add relationship that already exists. '{"source":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization","target":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization::<email_address>","ctdType":"Relationship","id":"40cee54f67a355xxxxxxxxxx296cdc24e38360ba","source":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization","target":"/<uim_domain>/<uim_hub>/<uim_robot>/office365:idsProbe:<XXXX_ABC_PROD>::<XXXX_ABC_PROD>-Organization::<email_address>","typeName":"hasChild"}'
at tgraph2.TGraph2.addEdge(TGraph2.java:165)
at com.nimsoft.ids.ctd.graph.CtdGraphBase.addRelationship(CtdGraphBase.java:278)
at com.nimsoft.ids.ctd.graph.CtdGraphBase.addRelationship(CtdGraphBase.java:911)
at com.nimsoft.pf.common.graph.GraphHelper.checkAddRelationship(GraphHelper.java:541)
at com.nimsoft.pf.common.graph.GraphHelper.checkAddHasChildRelationship(GraphHelper.java:472)
at com.nimsoft.pf.common.graph.GraphHelper.checkAddHasChildRelationship(GraphHelper.java:493)
at com.nimsoft.pf.common.graph.GraphHelper.checkAddElement(GraphHelper.java:337)
at com.nimsoft.pf.common.graph.GraphHelper.checkAddElement(GraphHelper.java:344)
at com.nimsoft.probe.framework.genprobe.GenInventory.addElementToGraph(GenInventory.java:399)
at com.nimsoft.probe.framework.genprobe.GenInventory.addNode(GenInventory.java:375)
at com.nimsoft.probe.framework.genprobe.GenInventory.addItem(GenInventory.java:323)
at com.nimsoft.probe.framework.genprobe.GenInventory.update(GenInventory.java:138)
... 14 more