OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Error while upgrading to azure-identity 1.16.1

  • Thread starter Thread starter Anmol Narang
  • Start date Start date
A

Anmol Narang

Guest
We had been using azure-identity 1.10.0 but due to security vulnerabilities we had to upgrade it to 1.16.1. But after upgrading we are getting the below error :

EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.

But as soon as we switch back to older version everything works fine. We are using azure DefaultAzureCredential for authentication.

Code:
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()

Does anyone know why we are getting this?
<p>We had been using azure-identity 1.10.0 but due to security vulnerabilities we had to upgrade it to 1.16.1. But after upgrading we are getting the below error :</p>
<p><strong>EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.</strong></p>
<p>But as soon as we switch back to older version everything works fine. We are using azure DefaultAzureCredential for authentication.</p>
<pre><code>from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
</code></pre>
<p>Does anyone know why we are getting this?</p>
Continue reading...
 

Latest posts

Top