Giving Azure ADAL for Python a try. Getting this error when import adal.
import adal
Gives error
token_response = adal.acquire_token_with_username_password(
AttributeError: 'module' object has no attribute 'acquire_token_with_username_password'
I have downloaded most recent code from Github.
The README has sample code that uses acquire_token_with_username_password
so it should be present.
What am I missing?
import adal
token_response = adal.acquire_token_with_username_password(
'https://login.windows.net/ACTIVE_DIRECTORY_TENANT.onmicrosoft.com',
'username@ACTIVE_DIRECTORY_TENANT.onmicrosoft.com',
'password'
)