<div dir="ltr">My query condition in my previous mail was incorrect which is corrected (the documentation is exemplary). However, the connector continues to take a long time in reading through all the records in the source Azure AD until it finds the record that matches the condition and then pulls into the mindpoint repository. This does not work as intended since the time taken for the job to complete is still the same. Any other way?<div><br><div> <synchronization><br> <objectSynchronization id="31"><br> <objectClass>ri:AccountObjectClass</objectClass><br> <kind>account</kind><br> <intent>default</intent><br> <focusType>c:UserType</focusType><br> <enabled>true</enabled><br> <condition><br> <script><br> <u><code>basic.getAttributeValue(shadow, '<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3</a>', 'mail').equals("<a href="mailto:test_user@mydomain.com">test_user@mydomain.com</a>")</code></u><br> </script><br> </condition><br></div></div><div><br></div><div>Appreciate all the help.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 8:42 AM Marvel Krafts <<a href="mailto:marvel.krafts@gmail.com">marvel.krafts@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Here you go<div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 8:12 AM Emil Militzer <<a href="mailto:emil.militzer@posteo.de" target="_blank">emil.militzer@posteo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">could you attach some of your config?</div><div dir="ltr"><br></div><div dir="ltr">Kind Regards </div><div dir="ltr">Emil</div><div dir="ltr"><br><blockquote type="cite">Am 16.09.2022 um 13:48 schrieb Marvel Krafts via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Thanks for the response. It looks like MP still reconciles all the data and executes the code when the condition is true. I am trying to save time for import/reconciliation by putting a filer criteria but looks like the time is till the same. Am I doing something wrong?<div><br></div><div>Regards</div><div>Sunil<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 2:30 AM Pálos Gustáv via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>you can use condition in resource in synchronization/objectSynchronization/condition/script/code</div><div>When you return false, MP will skip the current shadow/account on import.</div><div><br></div><div>best regards,</div><div><br></div><div>Gustav</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">st 14. 9. 2022 o 22:26 Marvel Krafts via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am using the Azure Graph connector to import data from Azure AD into Midpoint. The data is huge in my source Azure AD. Is there a way to filter data based on attributes? Example, import only those records with givenName starting with "test".</div><div><br></div><div>Thanks</div></div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">s pozdravom<div><br></div><div>Gustáv Pálos</div></div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>
<span>_______________________________________________</span><br><span>midPoint mailing list</span><br><span><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a></span><br><span><a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a></span><br></div></blockquote></div></blockquote></div>
</blockquote></div>