Is there any way to avoid mail address duplication by MIIS ?
we use MIIS to exchange GAL sync, and sometimes mail address duplication happen by MIIS and user can not receive email.
I would like to avoid email address duplication caused by MIIS.
Is there any good way ?
June 24th, 2012 7:44am
If you are using Synch Engine only (MIIS) only solution is to implement part of a solution which will take care about uniqueness of a e-mail address. This can be done:
- through external data source like SQL server where You will export all data and take care about generating unique name
- through logic in flow or provisioning code which will create unique value based on input source.
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2012 8:12am
If not an input source available and you are writing code, you can also look at Utils.FindMVEntries() as a possible way to determine if the name is used. It can be kind of "expensive" to do that, though. I've always found a way to avoid having
to try it, since our ERP system generates unique IDs for everyone.
Chris
June 25th, 2012 6:00pm
yep, if you dont have a data source that maintains that uniquness you will have to create custom code and determine if it unique yourself. I have used FindMVEntries many times and I don't think it is that "expensive" since it only gets used on
create or when something changes (or full sync).
you could create a reusable function or just stick it right in the Import flow rule itself
Dim bIsUnique As Boolean = True
Dim mvEntries() As MVEntry
mvEntry = Utils.FindMVEntries("mail", csentry("mail").StringValue)
if mvEntry.count > 0 then
try a new name
end if
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2012 9:59pm
i have implemented a rule that checks for unique emailadresses, its done in the flow code.
June 26th, 2012 9:28am