Identity Broker Forum

Welcome to the community forum for Identity Broker.

Browse the knowledge base, ask questions directly to the product group, or leverage the community to get answers. Leave ideas for new features and vote for the features or bug fixes you want most.

0
Completed

PowerShell Transformation: Coalescing Multi-Value DNs

Daniel Walters 6 years ago updated by Matthew Davis (Technical Product Manager) 5 years ago 5

I have two dn.multi fields that I want to coalesce into a single list and also ensure it is unique. It would be something like this

$bothFields = $entity["placepositionoccupants"] + $entity["acpositionoccupants"]

$entity["occupants"] = $bothFields | select-object -unique

This doesn't work though. There's a couple things wrong with it. There's no addition operation for whatever object type the entity is and also when I do a select-object -unique it seems to longer be the type that Broker requires. Any hints on how I can achieve this is powershell? If I had the the object type that's required, I could create a new instance of that and then loop through the two lists adding as appropriate but I don't know the object type and couldn't find it any doco.

Answer

Thanks for the feedback Daniel. I've added it to our backlog for action.

0
Answered

Entity key contains null value

Daniel Walters 6 years ago updated by Matthew Davis (Technical Product Manager) 6 years ago 1
Image 5136

Can I get some assistance with what this error is inidcating? It says the entity key of the entity contains a null value. What is the entity key? I can find the user with the ID in MIM and there's a pending export that's failing where it's adding an attribute. There's no null or attribute deletion in MIM. The error in MIM isn't much help:

Image 5137
Answer

Hey Dan,

This means that an update to an entity from MIM is attempting to flow out to Broker, but a field marked as a "Key" in the adapter does not have a value.

Make sure any fields you've got defined as being the key have values assigned when flowing either adds or updates.

0
Declined

SQL Connector Delta Import auto disable

Matthew Davis (Technical Product Manager) 6 years ago updated 5 years ago 3

The delta import functionality on the SQL connector requires a "Modified" column be present in the database, as a DateTime.

If the schema provider doesn't have this column, the "Poll Changes" operation on the connector should be disabled. Currently it just throws an error:

Image 5133
Answer

Not currently viable due to the design, backlogged improving the error message and documentation.

0
Planned

SQL Connector Schema Provider not showing error

Matthew Davis (Technical Product Manager) 6 years ago updated 3 years ago 1

Noticed today that if you've got a database connector, and the account you're connecting with has access to the database but no roles assigned (db_reader etc) then a request schema will not show an error - it will instead show that there are no schema fields.

Test agent completes without issue.

The only way to show the error (no SELECT permission), you have to manually add a schema field and attempt an import.

The schema provider should display this same error when attempting to get the schema.

0
Completed

More context in error messages

Daniel Walters 6 years ago updated by Beau Harrison (Senior Product Software Engineer) 6 years ago 2

Can we get more information in error messages. An example is today, in a connector, I'm getting the error: 

"An error has occurred: An item with the same key has already been added."

This is all the information I'm getting and though it tells me what the error is it doesn't give me any information that helps me resolve it. What would be useful is if it provided the key that it's faulting on.

0
Answered

Adapter Error: DN Component, Argument Out of Range Exception

Daniel Walters 6 years ago updated by Adam van Vliet 6 years ago 5

I have an adapter that is a position type that has a field for the ReportsTo position. I'm generating a DN on this field. I've got bad data here so it wouldn't be able to resolve the DN. My question is, should this prevent the entire adapter from loading in changes. Right now I've got 19 changes and 0 entities and this error being thrown. Does the bad DN reference prevent the whole thing from loading?

This is the error I'm getting:

Image 5117

Answer
Adam van Vliet 6 years ago

It'll stop reflection because of the nature of the way it's currently calculated and the requirement that the changes are in order. As Matthew mentioned we are exploring ways to improve this process. For now you'll need to fix the transformation configuration so that it does not error out. Regarding the generated reference, UNIFYBroker does not do reference checking, as it's assumed that this is done by the identity management platform.

0
Fixed

Adapter Error: A task was cancelled

Daniel Walters 6 years ago updated by Matthew Davis (Technical Product Manager) 6 years ago 1

I've created an adapter and only just had the connector populated. The adapter shows >1000 entities but when I click on the link to go to the Entity Search, it sits at Processing for a few minutes and then the following pop-up appears. There's nothing about it in Event Viewer or the IdB logs

Image 5115

Answer

Daniel has confirmed that the patch fixed the issue.

0
Answered

Error retrieving certificate for LDAP Security

Daniel Walters 6 years ago updated by Adam van Vliet 6 years ago 1

What is this error indicating and how do I resolve it?

Image 5108

I am having some connectivity problems in one of my agents that should be over SSL, not sure if it's unrelated.

Answer
Adam van Vliet 6 years ago
It's unrelated to your agent, unless it's connecting to the LDAP Endpoint. See https://voice.unifysolutions.net/knowledge-bases/7/articles/2950-configuring-the-certificate-for-tls-over-ldap
0
Declined

Web Services Connector

Matthew Davis (Technical Product Manager) 6 years ago updated 4 years ago 4

A web services connector may be something worth adding, if possible.

Ideally, it would have the option to take a service contract from a swagger document, WSDL file (either SOAP or WCF) and hard-mapped REST endpoints.


It would be fairly complex, as there would need to be some form of data object mapping (mainly for WCF and SOAP) and also argument mapping for calling methods that require specific object instances (like for import and export methods). 

An option would be to enable raw c# input that does the object creation and mapping from schema object to data object (similar to how the powershell connector works) but with the base connector still responsible for the importing and parsing of the service contract.

Technically this could be achieved already with the existing powershell connector, however in its current usage it is not a repeatable or clean solution. May be worth seeing if improvements can be made to the powershell connector to support this use case. 

Answer

Should be covered by a simpler connector integration framework.

0
Answered

Dumping Adapter Data

Daniel Walters 6 years ago updated by anonymous 6 years ago 5

What would be the quickest way to dump the data in an adapter so I can compare two adapters? The use case is the replacement of an adapter and the new adapter should be a like-for-like replacement of the original with the same resulting data as a the old one. Would it be a PowerShell script that pulls the adapter via the ldap gateway?

Answer

Hey Daniel,

That's correct. The quickest and most supported way is to query the LDAP gateway for the adapter you're needing the data from.