Identity Manager - Office 365 Driver error: Exception caused by DriverShim.getSubscriptionShim()

  • 7015184
  • 13-Jun-2014
  • 16-Jun-2014

Environment

NetIQ Identity Manager 4.0
NetIQ Identity Manager Driver - Office 365

Situation

Starting the driver would produce an error in the Remote Loader trace:

<nds dtdversion="3.5">
  <source>
    <product instance="" version="4.0.0.2" build="201309111357">Identity Manager Driver for Microsoft Office365</product>
    <contact>Novell, Inc.</contact>
  </source>
  <output>
    <status level="success" />
  </output>
</nds>
DirXML: [02/06/14 14:59:37.055]:
DirXML Log Event -------------------
    Driver  = \TEST-TREE\system\driverset1\MSOffice365
    Thread  = Subscriber
    Level   = error
    Message = Exception caused by DriverShim.getSubscriptionShim()
   at DXMLMSOnlineDriver.SPSubscriberShim..ctor(SPDriverShim driverShim)
   at DXMLMSOnlineDriver.SPDriverShim.getSubscriptionShim()
   at DXMLRemote.loader.Driver.startDriver(XmlDocument initDocs)
DirXML: [02/06/14 14:59:37.055]:
DirXML Log Event -------------------
    Driver  = \TEST-TREE\system\driverset1\MSOffice365
    Thread  = Subscriber
    Level   = fatal
    Message = Exception caused by DriverShim.getSubscriptionShim()
   at DXMLMSOnlineDriver.SPSubscriberShim..ctor(SPDriverShim driverShim)
   at DXMLMSOnlineDriver.SPDriverShim.getSubscriptionShim()
   at DXMLRemote.loader.Driver.startDriver(XmlDocument initDocs)
DirXML: [02/06/14 14:59:37.055]: TRACE:  Remote Loader: Sending...
DirXML: [02/06/14 14:59:37.055]: TRACE: 
<nds ndsversion="8.x" dtdversion="3.5">
  <output>
    <status level="fatal" type="remoteloader" event-id="report status">Exception caused by DriverShim.getSubscriptionShim()
   at DXMLMSOnlineDriver.SPSubscriberShim..ctor(SPDriverShim driverShim)
   at DXMLMSOnlineDriver.SPDriverShim.getSubscriptionShim()
   at DXMLRemote.loader.Driver.startDriver(XmlDocument initDocs)</status>
    <init-params event-id="write-state" />
  </output>
</nds>

Resolution

Checking the remote loader configuration file, it was found that it had an incorrect class, the correct class is DXMLMSOnlineDriver.SPDriverShim and it was set to "DXMLSharepointDriver.SPDriverShim"

Modifying this with an editor solved the issue.

Also upgrading to the latest version of the .Net Remote Loader will fix this issue.

Cause

Incorrect C:\Novell\remoteloader.Net\Office365.conf:
-description    "Office 365"
-commandport    8001
-connection    "port=8091"
-trace    5
-tracefile    "C:\Novell\remoteloader.NET\Office365-Trace.log"
-tracefilemax    4096M
-class DXMLSharepointDriver.SPDriverShim
-assembly    "C:\Novell\remoteloader.NET\DXMLMSOnlineDriver.dll"

Correct C:\Novell\remoteloader.Net\Office365.conf:
-description    "Office 365"
-commandport    8001
-connection    "port=8091"
-trace    5
-tracefile    "C:\Novell\remoteloader.NET\Office365-Trace.log"
-tracefilemax    4096M
-class    "DXMLMSOnlineDriver.SPDriverShim"
-assembly    "C:\Novell\remoteloader.NET\DXMLMSOnlineDriver.dll"