<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Newly added workspace users do not appear immediately in WorkspaceClient().users.list() or SCIM in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150873#M5022</link>
    <description>&lt;P&gt;There is no documented delay timing but there is documentation that gives a general idea about the over all delay . I think it could be from few mins to 20-40 mins . The changes are eventually consistent not immediately effective .&lt;/P&gt;&lt;P&gt;The references to delay .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/manage-groups#accountconsole-1" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/manage-groups#accountconsole-1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;SPAN&gt;&lt;EM&gt;There is a delay of a few minutes between updating a group and the group membership being fully propagated across all systems.&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/scim/aad#provisioning-tips" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/scim/aad#provisioning-tips&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(&lt;EM&gt;The initial Microsoft Entra ID sync is triggered immediately after you enable provisioning. Subsequent syncs are triggered every 20-40 minutes, depending on the number of users and groups in the application.&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Mar 2026 05:36:39 GMT</pubDate>
    <dc:creator>pradeep_singh</dc:creator>
    <dc:date>2026-03-14T05:36:39Z</dc:date>
    <item>
      <title>Newly added workspace users do not appear immediately in WorkspaceClient().users.list() or SCIM API</title>
      <link>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150833#M5020</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m trying to retrieve the list of users in a Databricks workspace.&lt;/P&gt;&lt;P&gt;I am currently using both the Databricks SDK and the SCIM API:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="python"&gt;from databricks.sdk import WorkspaceClient

w = WorkspaceClient()
users = list(w.users.list())&lt;/LI-CODE&gt;&lt;P&gt;and also:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="python"&gt;import requests
import pandas as pd

workspace_url = ""
token = ""

headers = {
"Authorization": f"Bearer {token}"
}

users = []
start_index = 1
count = 100

while True:
resp = requests.get(
f"{workspace_url}/api/2.0/preview/scim/v2/Users",
headers=headers,
params={"startIndex": start_index, "count": count}
)
resp.raise_for_status()
data = resp.json()
users.extend(data.get("Resources", []))

if start_index + count &amp;gt; data.get("totalResults", 0):
break

start_index += count

u = pd.DataFrame(users)["userName"].to_list()&lt;/LI-CODE&gt;&lt;P&gt;What I’ve noticed is that after adding a user to the workspace, I can see that user in the Databricks UI, but the same user does not always appear immediately in either of the methods above.&lt;/P&gt;&lt;P&gt;I understand there may be some delay before the change is reflected, but the delay seems inconsistent. Some users appear relatively quickly, while others take much longer.&lt;/P&gt;&lt;P&gt;I could not find any documentation describing the expected synchronization or refresh delay for workspace user listing.&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is there an expected delay for newly added users to appear in WorkspaceClient().users.list() or in the SCIM /Users endpoint?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is that delay documented anywhere?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there a more reliable or recommended way to retrieve an up-to-date workspace user list?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any clarification would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 15:22:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150833#M5020</guid>
      <dc:creator>discuss_darende</dc:creator>
      <dc:date>2026-03-13T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Newly added workspace users do not appear immediately in WorkspaceClient().users.list() or SCIM</title>
      <link>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150873#M5022</link>
      <description>&lt;P&gt;There is no documented delay timing but there is documentation that gives a general idea about the over all delay . I think it could be from few mins to 20-40 mins . The changes are eventually consistent not immediately effective .&lt;/P&gt;&lt;P&gt;The references to delay .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/manage-groups#accountconsole-1" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/manage-groups#accountconsole-1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;SPAN&gt;&lt;EM&gt;There is a delay of a few minutes between updating a group and the group membership being fully propagated across all systems.&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/scim/aad#provisioning-tips" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/admin/users-groups/scim/aad#provisioning-tips&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(&lt;EM&gt;The initial Microsoft Entra ID sync is triggered immediately after you enable provisioning. Subsequent syncs are triggered every 20-40 minutes, depending on the number of users and groups in the application.&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2026 05:36:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150873#M5022</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-03-14T05:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Newly added workspace users do not appear immediately in WorkspaceClient().users.list() or SCIM</title>
      <link>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150989#M5024</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/211981"&gt;@discuss_darende&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I agree with Pradeep here.&amp;nbsp;In practice, there can be a delay before the identity and its memberships are fully visible everywhere, especially if you’re on Azure and using AIM&amp;nbsp;or a SCIM connector from your IdP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The delay isn’t documented as "SCIM list delay", but the underlying behaviour is &lt;A href="https://learn.microsoft.com/en-gb/azure/databricks/admin/users-groups/automatic-identity-management" target="_self"&gt;documented&lt;/A&gt; in terms of identity and group sync.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SCIM_Time_Delay.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/24865iB21559A33DFAFF2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCIM_Time_Delay.png" alt="SCIM_Time_Delay.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The same article notes that enabling AIM can take 5-10 minutes to take effect.&amp;nbsp;So, depending on how the user was added and when they authenticate, you may see a delay that appears inconsistent. Sometimes a user shows up in your list of calls almost immediately, sometimes only after the next identity/group refresh window.&amp;nbsp;That’s identity propagation and caching timing, not a separate delay on the /Users endpoint.&amp;nbsp;Those timings are what typically explain why a user appears in the UI first and only later in your SCIM/SDK listing.&lt;/P&gt;
&lt;P&gt;Now, to your last question about a reliable or recommended way... I don't think there is anything else.&amp;nbsp;You’re already using the recommended interfaces.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;If you still see a user missing from /Users well beyond those windows (for example, &amp;gt; 30 - 40 minutes after:&lt;/P&gt;
&lt;UL class="p8i6j07 p8i6j02"&gt;
&lt;LI&gt;they exist and are enabled in the IdP,&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;they’re assigned to the Databricks account/workspace, and&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;they’ve done at least one SSO login),&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;Then that’s a good point to open a support ticket with example user IDs and timestamps so Databricks can look at the specific tenant.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2026 19:42:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/newly-added-workspace-users-do-not-appear-immediately-in/m-p/150989#M5024</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-03-15T19:42:05Z</dc:date>
    </item>
  </channel>
</rss>

