<div dir="ltr"><div dir="ltr"><div>It seems that using a filter on the resource may be a solution.</div><div><br></div><div><condition></div><div> <script xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:type="c:ScriptExpressionEvaluatorType"></div><div> <code></div><div> obj = basic.getAttributeValue(shadow, '<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>','dn');</div><div> return (obj.contains('OU=employees,DC=xyz,DC=net'));</div><div> </code></div><div> </script></div><div></condition></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 2 de jan. de 2021 às 21:21, Gus Lou <<a href="mailto:gugalou38@gmail.com">gugalou38@gmail.com</a>> escreveu:<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"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello Guys Happy New Year<div><br></div><div><font color="#000000" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:18px;white-space:pre-wrap">I created a task to import existing accounts in Active Directory.
After the task to import some accounts it stop and presents an error regarding an account that could not be imported.
It is a default exchange account that for some reason is not being recognized by the midpoint.
Is there a way to exclude this account from import so that it doesn't stop the task?</span></font><br></div><div><font color="#000000" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:18px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:18px;white-space:pre-wrap">Task error:</span></font></div><div>Couldn't convert resource object from ConnID to midPoint: uid=Attribute: {Name=__UID__, Value=[f10eed2a-1a67-4484-97c9-b9c28646fb12]}, name=Attribute: {Name=__NAME__, Value=[CN=Exchange Online-ApplicationAccount,OU=UserDisable,DC=xyz,DC=net]}, class=ObjectClass: user: Unknown attribute msExchUserBL in definition of object class {<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7Duser" target="_blank">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}user</a>. Original ConnId name: msExchUserBL in resource object identified by Attribute: {Name=__NAME__, Value=[CN=Exchange Online-ApplicationAccount,OU=UserDisable,DC=xyz,DC=net]}<font color="#000000" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:18px;white-space:pre-wrap"><br></span></font></div><div><br></div><div><br></div><div>Regards</div><div><br></div><div>Gus</div></div></div></div></div>
</blockquote></div>