Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.56k stars 2.78k forks source link

Azure Identity needs more explanation about 2FA an AD B2C #16814

Closed askpatrickw closed 3 years ago

askpatrickw commented 3 years ago

The README for Azure Identity could use some explanation about what happens when you enable 2FA on your user account, and when your application resources are deployed in AD B2C. At least pointers to this information would be super helpful.

chlowell commented 3 years ago

Thanks for opening this issue! I think the relevant information would be:

  1. azure-identity doesn't support AD B2C
  2. username/password authentication (i.e. UsernamePasswordCredential) doesn't support MFA

I'll add a note to the readme about B2C. UsernamePasswordCredential's MFA limitation is called out in its docstring but I think that's reasonable to note in the readme as well.

Is there anything else you think should be added or clarified?