<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p
{margin-top:0;
margin-bottom:0}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>How can I create AD user account automatically when I assign resource account to user in midPoint 3.3.1? Currently when I add resource assignment to user and click 'Save' button it complains: "'ConnId Name' is required". When I fill in the 'ConnId Name'
attribute then the user account is created in AD. Why it does not use outbound mapping in schema handling?<br>
icfs:name mapping is currently following:<br>
...<br>
<attribute><br>
<c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref><br>
<tolerant>true</tolerant><br>
<exclusiveStrong>false</exclusiveStrong><br>
<outbound><br>
<source><br>
<c:path>$user/givenName</c:path><br>
</source><br>
<source><br>
<c:path>$user/familyName</c:path><br>
</source><br>
<expression><br>
<script><br>
<code><br>
return 'CN=' + givenName + ' ' + familyName + ',OU=Users,OU=TEST2,DC=proov,DC=domain'<br>
</code><br>
</script><br>
</expression><br>
<condition><br>
<script><br>
<code>givenName != null && familyName != null</code><br>
</script><br>
</condition><br>
</outbound><br>
</attribute><br>
...<br>
Thanks,<br>
Aivo Kuhlberg<br>
</p>
<br>
<hr>
<font face="Arial" color="Gray" size="2">Käesolev e-kiri võib sisaldada asutusesiseseks kasutamiseks tunnistatud teavet.<br>
This e-mail may contain information which is classified for official use.</font>
</body>
</html>