<?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: OAuth user-to-machine (U2M) authentication in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/78517#M7714</link>
    <description>&lt;P&gt;Same problem here.&lt;/P&gt;&lt;P&gt;After running the debug I got:&lt;/P&gt;&lt;P&gt;DEBUG Apply pid=5736 mutator=initialize mutator=seq mutator=PopulateCurrentUser&lt;BR /&gt;DEBUG non-retriable error: failed during request visitor: default auth: cannot configure default credentials&lt;/P&gt;&lt;P&gt;But I can perfectly perform some "basic" command in the CLI (i.e.&amp;nbsp;databricks clusters list).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":persevering_face:"&gt;😣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Databricks CLI version is 0.221.1&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 12:01:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-12T12:01:18Z</dc:date>
    <item>
      <title>OAuth user-to-machine (U2M) authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/65360#M7712</link>
      <description>&lt;P&gt;I am trying to use&amp;nbsp;OAuth user-to-machine (U2M) authentication&amp;nbsp; from azure databricks CLI.&lt;/P&gt;&lt;P&gt;When I run&amp;nbsp;databricks auth login --host&amp;nbsp; ,I get a web browser open and get authentication sucessfull message and My profile also save successfully with auth-type=Databricks-cli&lt;/P&gt;&lt;P&gt;I can see the token with databricks auth token --host command.But when I try to connect to databricks or run below command ,I get the error message related to default auth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\santil&amp;gt;databricks auth env --host hostname&lt;BR /&gt;Error: default auth: cannot configure default credentials. Config: host=, profile=dev&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 03:57:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/65360#M7712</guid>
      <dc:creator>Aria</dc:creator>
      <dc:date>2024-04-03T03:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth user-to-machine (U2M) authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/65363#M7713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/95892"&gt;@Aria&lt;/a&gt;&amp;nbsp;, Good Day!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which CLI version you are using here? Can you try to update the CLI version to a newer version by referring to this document :&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/cli/install#--homebrew-update-for-linux-or-macos" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/cli/install#--homebrew-update-for-linux-or-macos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you still face the issue after updating the CLI version then could you please run the command with --debug and post the output? For eg :&amp;nbsp;&lt;STRONG&gt;~ databricks account groups list -p&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;lt;configuration-profile-name&amp;gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;--debug&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if this helps and leave a like if this information is useful, followups are appreciated.&lt;BR /&gt;Kudos&lt;BR /&gt;Ayushi&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 05:29:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/65363#M7713</guid>
      <dc:creator>Ayushi_Suthar</dc:creator>
      <dc:date>2024-04-03T05:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth user-to-machine (U2M) authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/78517#M7714</link>
      <description>&lt;P&gt;Same problem here.&lt;/P&gt;&lt;P&gt;After running the debug I got:&lt;/P&gt;&lt;P&gt;DEBUG Apply pid=5736 mutator=initialize mutator=seq mutator=PopulateCurrentUser&lt;BR /&gt;DEBUG non-retriable error: failed during request visitor: default auth: cannot configure default credentials&lt;/P&gt;&lt;P&gt;But I can perfectly perform some "basic" command in the CLI (i.e.&amp;nbsp;databricks clusters list).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":persevering_face:"&gt;😣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Databricks CLI version is 0.221.1&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:01:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/oauth-user-to-machine-u2m-authentication/m-p/78517#M7714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-12T12:01:18Z</dc:date>
    </item>
  </channel>
</rss>

