kyin_ying Absent Member.
Absent Member.
741 views

IDM 4.7 AD Azure Driver - Null Pointer Exception

Hi All,

I'm setting up an AD Azure Driver in IDM 4.7 environment but I'm encountering the error below:


DirXML: [11/15/18 00:45:17.66]: TRACE: IDV_TO_O365_Azure: OAuth2: Token is valid.
DirXML: [11/15/18 00:45:17.66]: TRACE: IDV_TO_O365_Azure: OAuth2: Token is valid.
DirXML: [11/15/18 00:45:17.66]: TRACE: IDV_TO_O365_Azure: Did a HTTP GET with 0 bytes of data to https://graph.windows.net/xynapse-asia.com/applications/a31b24e9-d350-4823-99f6-a51e343b48ea/extensionProperties?api-version=1.6
DirXML: [11/15/18 00:45:17.66]: TRACE: IDV_TO_O365_Azure: RESTPublicationShim.start()
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365_Azure: Response code and message: 200 OK
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365_Azure: Calling document modifier class com.novell.nds.dirxml.driver.azure.apiext.GraphAPIExtension.modifySubscriberResponse()
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Received response document from subscriber
DirXML: [11/15/18 00:45:17.71]: TRACE: <nds dtdversion="3.0">
<source>
<product build="20180222_0635" version="1.0.0.2">Identity Manager REST Driver</product>
<contact>NetIQ Corporation.</contact>
</source>
<output>
<status level="success" type="driver-general">
<driver-operation-data class-name="users" command="schema-extensions" dest-dn="">
<response method="GET" url="https://graph.windows.net/xynapse-asia.com/applications/a31b24e9-d350-4823-99f6-a51e343b48ea/extensionProperties?api-version=1.6">
<url-token/>
<header/>
<value message="OK" status="200">{"odata.metadata":"https://graph.windows.net/xynapse-asia.com/$metadata#directoryObjects","value":[]}</value>
</response>
</driver-operation-data>
</status>
</output>
</nds>
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Total 0 schema extensions are registered for application 9204fdf9-dbef-4e2a-9356-8f78dc55e4f8
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Populating 0 registered schema extensions in driver schema.
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Caught exception during REST Channels initialization.
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: java.lang.NullPointerException
at com.novell.nds.dirxml.driver.azure.ExchangeAPI$CmdDefinition.access$000(ExchangeAPI.java:547)
at com.novell.nds.dirxml.driver.azure.ExchangeAPI.getSchema(ExchangeAPI.java:522)
at com.novell.nds.dirxml.driver.azure.AZDriverShim.populateFullSchema(AZDriverShim.java:314)
at com.novell.nds.dirxml.driver.azure.AZDriverShim.initRestChannels(AZDriverShim.java:269)
at com.novell.nds.dirxml.driver.azure.AZPublisher.init(AZPublisher.java:117)
at com.novell.nds.dirxml.remote.loader.Driver.run(Driver.java:857)
at java.lang.Thread.run(Thread.java:748)
DirXML: [11/15/18 00:45:17.71]: TRACE: Remote Loader: PublicationShim.init() returned:
DirXML: [11/15/18 00:45:17.71]: TRACE: <nds dtdversion="4.x" ndsversion="8.x">
<source>
<product build="20180222_0642" instance="IDV_TO_O365" version="5.1.0.0">Identity Manager Driver for Azure AD and Office 365</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status level="fatal" type="com.novell.nds.dirxml.driver.azure.StatusException"/>
</output>
</nds>
DirXML: [11/15/18 00:45:17.71]:
DirXML Log Event -------------------
Driver = \IDM_TREE\system\driverset1\IDV_TO_O365
Thread = Publisher
Level = fatal
DirXML: [11/15/18 00:45:17.71]:
DirXML Log Event -------------------
Driver = \IDM_TREE\system\driverset1\IDV_TO_O365
Thread = Subscriber
Level = error
Message = Fatal error returned from shim
DirXML: [11/15/18 00:45:17.72]: TRACE: Remote Loader


Anyone experienced this and know what is causing this error?

Appreciate your help.
Labels (1)
0 Likes
6 Replies
Knowledge Partner
Knowledge Partner

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

Hi kyin,

DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Total 0 schema extensions are registered for application 9204fdf9-dbef-4e2a-9356-8f78dc55e4f8
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Populating 0 registered schema extensions in driver schema.
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: Caught exception during REST Channels initialization.
DirXML: [11/15/18 00:45:17.71]: TRACE: IDV_TO_O365: java.lang.NullPointerException
at com.novell.nds.dirxml.driver.azure.ExchangeAPI$Cmd Definition.access$000(ExchangeAPI.java:547)


I have 2 questions:
1. Did you followed all steps from driver documentation (and cool solution) to provide to Azure application object required rights? (Registered application can't see "schema")
2. Do you have Exchange Online "enabled" for your O365 tenant? (maybe you don't need ExchangeOnline driver extension)
0 Likes
kyin_ying Absent Member.
Absent Member.

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

hi Al_b,

1. Is it the right you are referring to is "Company Administrator"?
2. AD Azure with mailbox, is this meant that Exchange Online is enabled? I don't have an admin access to the ADAzure. It's difficult for me to sort this out. sob
0 Likes
Knowledge Partner
Knowledge Partner

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

1. I'm talking about Proxy Application

https://www.netiq.com/documentation/identity-manager-47-drivers/msazure_ad/data/preparing-for-installation.html
NOTE:Ensure that the Read directory data, Read and write domains, Read and write directory data, and Read and write devices permissions are selected.



2. Do you anybody in your organization, that use Exchange Online? Do you have a plan to manage Exchange Online from this Azure AD Driver?
0 Likes
Knowledge Partner
Knowledge Partner

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

On 11/14/2018 10:24 PM, kyin ying wrote:
>
> hi Al_b,
>
> 1. Is it the right you are referring to is "Company Administrator"?
> 2. AD Azure with mailbox, is this meant that Exchange Online is enabled?
> I don't have an admin access to the ADAzure. It's difficult for me to
> sort this out. sob


If you just need to create Mailboxes in O365, then simply granting the
license suffices and I do not think you need the Exchange Service.
However most everything else Exchange related does need it.

You can think of it bifurcated as do I need PowerShell to do the task?
Use Exchange Service. Is it exposed in Graph REST API, then Azure
driver itself can do it.

0 Likes
karmst Regular Contributor.
Regular Contributor.

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

Hello,

Was this ever resolved? I have exactly the same issue, and the documentation for the 4.7 Driver uses a different (older) interface for configuring Azure permissions. See attached, of what I have done.

Screen Shot 2019-08-20 at 7.36.58 AM.png

What am I missing?

Cheers,

-K

0 Likes
karmst Regular Contributor.
Regular Contributor.

Re: IDM 4.7 AD Azure Driver - Null Pointer Exception

As an addendum, I want ahead and cleared all the existing permissions and set them up again. This time, I assumed I was doing them correctly.  Alas, nothing has changed and I am still getting an error.

IDM version: 4.7.1

Azure AD Connector: 5.1.1.0

REST Driver: 1.0.2.0

Screen Shot 2019-08-20 at 8.09.27 AM.png

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.