<?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: Databrick Oauth federation in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167920#M5570</link>
    <description>&lt;P&gt;Check your Federation Policy in the Databricks Account Console &amp;gt; Security &amp;gt; Authentication.&lt;/P&gt;&lt;P&gt;Ensure the Subject claim field is explicitly set to &lt;STRONG&gt;preferred_username&lt;/STRONG&gt; or User Principal Name (instead of the default).&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2026 12:05:19 GMT</pubDate>
    <dc:creator>Satyasai</dc:creator>
    <dc:date>2026-09-08T12:05:19Z</dc:date>
    <item>
      <title>Databrick Oauth federation</title>
      <link>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167909#M5569</link>
      <description>&lt;P&gt;I try to get databrick token from my databricks workspace,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set up properly databricks federation policy, but i still get this error.&lt;/P&gt;&lt;P&gt;"invalid_client": "user '123456' is not a member of workspace '123456' "&lt;/P&gt;&lt;P&gt;i have checked in databricks console workspace permission, the user is present, i gave him all the permission also "workspace access"&lt;/P&gt;&lt;P&gt;i have check the databricks console user management, the user is present. so the sync from IDP entra ID work properly.&lt;BR /&gt;i can not figure out what other issue could cause it to fail.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 11:21:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167909#M5569</guid>
      <dc:creator>taglud_dbw</dc:creator>
      <dc:date>2026-09-08T11:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick Oauth federation</title>
      <link>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167920#M5570</link>
      <description>&lt;P&gt;Check your Federation Policy in the Databricks Account Console &amp;gt; Security &amp;gt; Authentication.&lt;/P&gt;&lt;P&gt;Ensure the Subject claim field is explicitly set to &lt;STRONG&gt;preferred_username&lt;/STRONG&gt; or User Principal Name (instead of the default).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 12:05:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167920#M5570</guid>
      <dc:creator>Satyasai</dc:creator>
      <dc:date>2026-09-08T12:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick Oauth federation</title>
      <link>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167939#M5571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/247683"&gt;@taglud_dbw&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Th&lt;/SPAN&gt;e &lt;SPAN&gt;"invalid_client": "user '123456' is not a member of workspace '123456' "&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; error during token federation means that the OAuth token exchange endpoint could not resolve the user as a direct member of the target workspace at the moment it tried to mint the token. Even though you are in the workspace UI and have all the right permissions, a few things can cause this mismatch.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Firstly,&amp;nbsp;the token exchange endpoint checks workspace membership differently from how the admin console displays it. If you have access to the workspace&amp;nbsp;only through a group&amp;nbsp;(indirect assignment) rather than being directly added as a workspace member, the federation token exchange may not recognise you. Try explicitly adding your user name as a direct member of the workspace (not just via group membership) and test again. This is a known gap in certain configurations.&lt;/P&gt;
&lt;P&gt;Secondly, verify if the username/email claim matches exactly.&amp;nbsp;The federation flow uses a claim from your Entra ID token (typically&amp;nbsp;sub,&amp;nbsp;upn, or&amp;nbsp;email) to look up the user in Databricks. If there is a&amp;nbsp;case mismatch&amp;nbsp;between the claim value and the username stored in Databricks, the lookup will fail. For example, if Entra sends&amp;nbsp;User@Domain.com&amp;nbsp;but Databricks has the user stored as&amp;nbsp;user@domain.com, the token exchange can reject it. Check the&amp;nbsp;subject_claim&amp;nbsp;setting in your&amp;nbsp;&lt;A class="du-bois-light-typography css-1zhnxz" role="link" href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-federation-policy" rel="noopener noreferrer" data-component-type="typography_link" data-component-id="codegen_webapp_js_genai_util_markdown.tsx_71" aria-disabled="false" target="_blank"&gt;federation policy&lt;/A&gt;&amp;nbsp;and compare the exact value in the token against what Databricks has stored for that user.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using identity federation with SCIM or a similar sync mechanism, you need to be&amp;nbsp;&lt;/SPAN&gt;active&lt;SPAN&gt;&amp;nbsp;in the Databricks account, not just present. A user who has been synced but has never completed an interactive login may be in an inactive state. Check if your status in the account console under User Management and confirm it shows as "Active."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Lastly, make sure your federation policy is configured at the right level. An&amp;nbsp;account-wide&amp;nbsp;federation policy lets any user in the account exchange tokens, while a&amp;nbsp;service-principal-level&amp;nbsp;policy is scoped to that specific SP. If you are using account-wide federation for end users, do not set&amp;nbsp;client_id&amp;nbsp;in the token exchange request. If you are using a service-principal-level policy, the&amp;nbsp;client_id&amp;nbsp;must match the SP's application ID. See the&amp;nbsp;&lt;A class="du-bois-light-typography css-1zhnxz" role="link" href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-federation-exchange" rel="noopener noreferrer" data-component-type="typography_link" data-component-id="codegen_webapp_js_genai_util_markdown.tsx_71" aria-disabled="false" target="_blank"&gt;token exchange documentation&lt;/A&gt;&amp;nbsp;for the exact request format.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If none of the above helps, open a support ticket with the decoded token claims and the exact federation policy configuration so the team can trace the lookup path.&lt;/SPAN&gt;&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>Tue, 08 Sep 2026 12:56:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databrick-oauth-federation/m-p/167939#M5571</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-09-08T12:56:49Z</dc:date>
    </item>
  </channel>
</rss>

