<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Here's my defaultUserTemplateRef configuration. Is this what's causing my problems? </div><div dir="ltr">
<br></div><div><b>In SystemConfiguration:</b></div><div><br></div><div dir="ltr">    <defaultUserTemplateRef xmlns:tns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>" oid="0488d68b-c064-417e-b5fa-db9b723fb546" relation="org:default" type="tns:ObjectTemplateType"></div><div dir="ltr">        <!-- User Template --></div><div dir="ltr">    </defaultUserTemplateRef></div><div dir="ltr"><br></div><div dir="ltr"><b>defaultUserTemplateRef: <br></b></div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><objectTemplate xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>" xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>" xmlns:icfs="<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>" xmlns:org="<a href="http://midpoint.evolveum.com/xml/ns/public/common/org-3">http://midpoint.evolveum.com/xml/ns/public/common/org-3</a>" xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3">http://prism.evolveum.com/xml/ns/public/query-3</a>" xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>" xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3">http://prism.evolveum.com/xml/ns/public/types-3</a>" oid="0488d68b-c064-417e-b5fa-db9b723fb546" version="8"></div><div dir="ltr">    <name>User Template</name></div><div dir="ltr">    <metadata></div><div dir="ltr">        <createTimestamp>2019-02-28T08:19:25.128-05:00</createTimestamp></div><div dir="ltr">        <creatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"></div><div dir="ltr">            <!-- administrator --></div><div dir="ltr">        </creatorRef></div><div dir="ltr">        <createChannel><a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport">http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</a></createChannel></div><div dir="ltr">    </metadata></div><div dir="ltr">    <mapping id="1"></div><div dir="ltr">        <strength>strong</strength></div><div dir="ltr">        <source></div><div dir="ltr">            <c:path>$user/givenName</c:path></div><div dir="ltr">        </source></div><div dir="ltr">        <source></div><div dir="ltr">            <c:path>$user/familyName</c:path></div><div dir="ltr">        </source></div><div dir="ltr">        <expression></div><div dir="ltr">            <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 dir="ltr">                <code></div><div dir="ltr"><span style="white-space:pre">                                   </span>givenName + ' ' + familyName</div><div dir="ltr"><span style="white-space:pre">                              </span></code></div><div dir="ltr">            </script></div><div dir="ltr">        </expression></div><div dir="ltr">        <target></div><div dir="ltr">            <c:path>$user/fullName</c:path></div><div dir="ltr">        </target></div><div dir="ltr">        <condition></div><div dir="ltr">            <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 dir="ltr">                <code>givenName != null &amp;&amp; familyName != null</code></div><div dir="ltr">            </script></div><div dir="ltr">        </condition></div><div dir="ltr">    </mapping></div><div dir="ltr">    <mapping id="2"></div><div dir="ltr">        <name>end user role</name></div><div dir="ltr">        <strength>strong</strength></div><div dir="ltr">        <expression></div><div dir="ltr">            <assignmentTargetSearch xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:type="c:AssignmentTargetSearchExpressionEvaluatorType"></div><div dir="ltr">                <targetType>c:RoleType</targetType></div><div dir="ltr">                <oid>9a355bd4-07b3-44e5-8708-caa43e94c2b6</oid></div><div dir="ltr">            </assignmentTargetSearch></div><div dir="ltr">        </expression></div><div dir="ltr">        <target></div><div dir="ltr">            <c:path>assignment</c:path></div><div dir="ltr">        </target></div><div dir="ltr">    </mapping></div><div dir="ltr"></objectTemplate></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019 at 11:34 AM Justin Stanczak <<a href="mailto:rizenine@gmail.com">rizenine@gmail.com</a>> wrote:</div><div dir="ltr" class="gmail_attr"><div dir="ltr"><div dir="ltr"><div><br></div><div>I do have a user template that assigns a default role in the system configuration global, but that's not related to this.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote></div>
</blockquote></div></div></div>
</div></div></div></div></div></div></div></div>