-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Azure.IdentityClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.
Description
In latest preview,
If I specify the AZURE_AUTHORITY_HOST environment variable with scheme (https)
AZURE_AUTHORITY_HOST=https://login.microsoftonline.us
I get the following exception:
DefaultAzureCredential failed to retrieve a token from the included credentials. Attempted credentials: EnvironmentCredential: <urllib3.connection.VerifiedHTTPSConnection object at 0x0000020F404EDCA0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
It works if I do not provide a scheme
AZURE_AUTHORITY_HOST=login.microsoftonline.us
All other Azure SDK languages support specifying a URI scheme for AZURE_AUTHORITY_HOST.
Please update the Python implementation to allow the user to specify a scheme.
Reactions are currently unavailable
Metadata
Metadata
Labels
Azure.IdentityClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.