In a Link pre-provisioning task I would like to generate a unique value for an adapter field. I tried using $components.CheckFieldUniqueness to check $targetEntities, but that variable only contains adapter entities that are being provisioned, and not all the others that already exist in the adapter.
I also looked at $joinedEntities, but it similarly only includes the entities being provisioned.
Can you suggest some way that I can perform a unique value check for a field across all adapter entities?
In the MH solution I used a call-out to AD directly (via the ActiveDirectory PowerShell module) rather than using $components.CheckFieldUniqueness() so I didn't see this behaviour.
Unfortunately in this solution the field value clashes will be very common because the customer wants the first UPN that gets tried to be derived solely from the person's first name.
Customer support service by UserEcho