Neuron ESB User Network

The Service Bus for the Connected Business

Hello,

I'm using the Microsoft Active Directory Adapter (a.k.a. "Active Directory Adapter") to query (request-reply) Active Directory using a request similar to:

{
"ActiveDirectory":
{
"Request":
{
"LdapPath": " CN=Marty Wasznicky, CN=Users,DC=AD,DC=Server,DC=com",
"TransactionType": "Get",
"MaxObjectsToReturn": "1"
}
}
}

I would like to only return a one or two attributes.
- mail
- userprincipalname

How do I specify these return attributes for NeuronESB to understand
them and send them?

I've searched Help and the samples. I've research Microsoft for the AD Query and it shows you can specific a list of attributes to return, comma-separated.

I just do not know how to provide this information to Neuron. I've tried many variations with the json.

Jeffery

Views: 192

Reply to This

Replies to This Discussion

I do not see where it states how to specify attributes to return for an AD Query for NeuronESB using the Microsoft Active Directory Adapter.

Can you point to a part of the document that specifies this?

Thank you.

properties node

Thanks again.  I think we are talking different things.  The "Properties" node specifically indicates it is only for Adding or Editing values (attributes) in AD.

"

  • Properties: Contains entries for each attribute that is used to define a new entity or update an existing entity.

"

If it is used for defining which attributes to return for a AD Query, you might consider updating the document or help system to reflect that.

What is the syntax (for NeuronESB) for requesting/specifying the attributes to return from the AD Query?  I'm not asking how to read the "Properties" from the AD response message.

I'm asking how do I submit the AD Query to only return the specified AD attributes in a request.  It is returning hundreds of attributes and I only want a few returned.

What is the -syntax- for the Query Mode to retrieve a specific property(ies)?

Do I put (in json)

"Properties":{ "userprincipalname":"" }

Unfortunately, through extensive testing, it appears this is not possible in NeuronESB.

We can close this post.

  • To recap, there is no way to query AD and request specific attributes to be returned to NeuronESB.
  • In Query mode, it appears that NeuronESB receives all of the AD attributes, including the thumbnail image, of a user in active directory.

If someone can show how this is possible, that would be great.

Here is where I halted my exploration:

{
"ActiveDirectory":
{
"Request":
{
"LdapPath": " CN=Marty Wasznicky, CN=Users,DC=AD,DC=Server,DC=com",
"TransactionType": "Get",
"MaxObjectsToReturn": "1",
"Properties":
{
"userprincipalname": ""
}

}
}
}

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Profile IconCam Vong, Mitja Luznar and John Patterson joined Neuron ESB User Network
7 hours ago
Profile IconChad Parsons, Will Hitzges, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019
Suman vadde is now a member of Neuron ESB User Network
Dec 16, 2019
Morten Andreasen is now a member of Neuron ESB User Network
Dec 9, 2019
Profile IconCarl Porch, Cordier, Lahbib Marouan and 4 more joined Neuron ESB User Network
Nov 18, 2019
Miroslav Jelev posted a discussion

Using unsupported OAuth provider

Is it possible to create a custom OAuth provider?  Specifically, we are working with Cisco (https://cloudsso.cisco.com/as/token.oauth2).We have a requirement to integrate with a Cisco soap server which uses OAuth2 for authentication. We are using a Service Connector to send a message to the SOAP service, but we need to write custom code in a business process to authenticate with their Cisco OAuth provider. We saw that Neuron supports…See More
Jul 29, 2019

Badge

Loading…

© 2022   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service