<?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: Job is failing with exception 
ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/job-is-failing-with-exception-clientauthenticationerror/m-p/13891#M8473</link>
    <description>&lt;P&gt;Below docs are for reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md" alt="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md" target="_blank"&gt;https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there was a suggestion given to use&lt;/P&gt;&lt;P&gt;from azure.common.credentials import ServicePrincipalCredentials&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;from azure.identity import ClientSecretCredential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please check if you have used the env variables for the authentication, sometimes you set it via init script so please check if the init script is in place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;found out an init script was missing, the one setting the env variables for the authentication&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 11:20:31 GMT</pubDate>
    <dc:creator>Mohit_m</dc:creator>
    <dc:date>2022-07-12T11:20:31Z</dc:date>
    <item>
      <title>Job is failing with exception 
ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.</title>
      <link>https://community.databricks.com/t5/data-engineering/job-is-failing-with-exception-clientauthenticationerror/m-p/13890#M8472</link>
      <description>&lt;P&gt;ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.&lt;/P&gt;&lt;P&gt;Attempted credentials:&lt;/P&gt;&lt;P&gt;EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.&lt;/P&gt;&lt;P&gt;Visit&amp;nbsp;&lt;A href="https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot" alt="https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot" target="_blank"&gt;https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot&lt;/A&gt;&amp;nbsp;to troubleshoot.this issue.&lt;/P&gt;&lt;P&gt;ManagedIdentityCredential: ManagedIdentityCredential authentication unavailable. The requested identity has not been assigned to this resource.&lt;/P&gt;&lt;P&gt;SharedTokenCacheCredential: SharedTokenCacheCredential authentication unavailable. No accounts were found in the cache.&lt;/P&gt;&lt;P&gt;VisualStudioCodeCredential: Failed to get Azure user details from Visual Studio Code.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 11:19:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-is-failing-with-exception-clientauthenticationerror/m-p/13890#M8472</guid>
      <dc:creator>Mohit_m</dc:creator>
      <dc:date>2022-07-12T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Job is failing with exception 
ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.</title>
      <link>https://community.databricks.com/t5/data-engineering/job-is-failing-with-exception-clientauthenticationerror/m-p/13891#M8473</link>
      <description>&lt;P&gt;Below docs are for reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md" alt="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md" target="_blank"&gt;https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there was a suggestion given to use&lt;/P&gt;&lt;P&gt;from azure.common.credentials import ServicePrincipalCredentials&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;from azure.identity import ClientSecretCredential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please check if you have used the env variables for the authentication, sometimes you set it via init script so please check if the init script is in place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;found out an init script was missing, the one setting the env variables for the authentication&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 11:20:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-is-failing-with-exception-clientauthenticationerror/m-p/13891#M8473</guid>
      <dc:creator>Mohit_m</dc:creator>
      <dc:date>2022-07-12T11:20:31Z</dc:date>
    </item>
  </channel>
</rss>

