<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Helvetica Light";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:#1F4E79;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<p id="janusNET.janusSEAL.Outlook.ProtectiveMarking.Body.Prefix" style="text-align: left; font-family: 'Arial'; font-size: 9pt; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; ">
Classification: INTERNAL</p>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F4E79">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">We have Keycloak setup with SQL Server as a persistent store, and we have User Federation enabled with Microsoft Active Directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Why does Keycloak go back to querying AD on every page load (Manage-&gt; Users or the Evaluate tab in Authorization)? Should it not get a list of users from the local SQL store only?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">I&#8217;m seeing that on the page load, Keycloak gets a list of all users from AD. Considering we have a large number of users, this is time consuming. Don&#8217;t know if it matters, but we do have an AD filter.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Regards, Ushanas.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:#FF6600">Viteos Fund Services Ltd</span></b><b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:navy"> |
</span></b><span style="font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:#1F4E79"><a href="http://www.viteosfundservices.com/" target="_blank"><span style="font-size:10.0pt;color:blue">www.viteos.com</span></a></span><span style="color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:black">Direct :</span></b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:black"> &#43;91-22-61082230 | US :
 &#43;1- 888-821-7561 extn 240</span><span style="color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:black">Cell :</span></b><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:black"> &#43;91-9820225580</span><span style="color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:black">Email :
</span><span style="font-size:10.0pt;font-family:&quot;Helvetica Light&quot;,&quot;serif&quot;;color:#1F4E79"><a href="mailto:ushanas.shastri@viteos.com"><span style="color:blue">ushanas.shastri@viteos.com</span></a></span><span style="color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<P>This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mis-transmission. If you receive this message in error, please immediatelydelete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Viteos Capital Market Services Ltd.and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entit.</P></body>
</html>