[midPoint] Get attribute value from shadow after creating in Exchange

Pavol Mederly mederly at evolveum.com
Tue Jul 7 16:10:36 CEST 2015


Well... this is quite strange. Because the mailbox creation is a 
synchronous operation, at least as far as I know.

One of the reasons could be that if you have more AD domain controllers, 
and Exchange host writes the information about the mailbox into one of 
them, but AD/Exchange connector reads it from another one.

Perhaps you could check if this is not the case.

The solution you've proposed, i.e. introducing a delay in connector 
processing, is possible.
You could use custom scripts (see my yesterday's mail to Anton on this 
list) to create an after-create PowerShell script for AccountObjectClass 
that would sleep for a few seconds.
This would, however, terribly slow down the creation of accounts on your 
Exchange resource.
I would suggest finding the reason of the weird behavior of delayed 
mailbox creation.

Best regards,
Pavol

> It seems that in moment where connector is finish to work there is no 
> mailbox. But reconciliation the account in couple of seconds return 
> the email. Is it possible to create any delay in connector’s process?
>
> *From:*midPoint [mailto:midpoint-bounces at lists.evolveum.com] *On 
> Behalf Of *Ващенков Алексей
> *Sent:* Tuesday, July 7, 2015 3:18 PM
> *To:* midPoint General Discussion
> *Subject:* Re: [midPoint] Get attribute value from shadow after 
> creating in Exchange
>
> Here my attribute mapping
>
> <attribute>
>    <c:ref>ri:PrimarySmtpAddress</c:ref>
>    <displayName>Адрес вExchange</displayName>
>    <exclusiveStrong>false</exclusiveStrong>
>    <tolerant>false</tolerant>
>    <inbound>
>       <name>mail in Exchange</name>
>       <authoritative>true</authoritative>
>       <exclusive>false</exclusive>
>       <strength>normal</strength>
>       <target>
>          <c:path>$focus/emailAddress</c:path>
>       </target>
>    </inbound>
> </attribute>
>
> *From:*midPoint [mailto:midpoint-bounces at lists.evolveum.com] *On 
> Behalf Of *Pavol Mederly
> *Sent:* Tuesday, July 7, 2015 3:11 PM
> *To:* midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com>
> *Subject:* Re: [midPoint] Get attribute value from shadow after 
> creating in Exchange
>
> Алексей,
>
> this is done via inbound expression attached to the corresponding 
> attribute - in this case, *PrimarySmtpAddress* (in case of Exchange 
> connector) or *mail* (in case of AD connector).
>
> If you're sure your configuration is correct, just post here your log 
> with model=TRACE level.
>
> Best regards,
> Pavol
>
>     Hi.
>
>     I have a simple stupid question. Now we have process, when user
>     created in HR-application. After this user in process of Live
>     Synchronization is imported to Midpoint. And after that account in
>     AD and Exchange are created for this user. And I need to set
>     email, which was created in Exchange,  to user in midpoint. How
>     can I do this? Yesterday it works, but not today.
>
>
>
>     _______________________________________________
>
>     midPoint mailing list
>
>     midPoint at lists.evolveum.com  <mailto:midPoint at lists.evolveum.com>
>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150707/29f9931f/attachment.htm>


More information about the midPoint mailing list