How to resolve "ModuleNotFoundError" when using Azure Python SDKs

Joshi, Pradyumn 0 Reputation points

I am using the following module while working with Azure Python SDKs:

from azure.identity import DefaultAzureCredential

I have installed this library but I'm still getting a "ModuleNotFoundError". Can you help me resolve this issue? Here is some additional information:

  • Python version: 3.8.9
  • pip list shows that azure-identity is installed at version 1.15.0.

Also, checked the documentation for Azure SDK:

pip install azure is not supported going forward with version 5 release.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,007 questions
{count} votes