Skip to content

[Resolved in 1.32.2+; Run "pip install -U msal" to upgrade] Authentication Failed: MsalResponse object has no attribute 'headers' #812

@sejal-raval

Description

@sejal-raval

Describe the bug
msal is being installed as dependency library in my teamcity builds. After the new release of 1.32.1, builds started failing with authentication error as below. Pinning the msal version to 1.32.0 works.

azure.core.exceptions.ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.
20:36:01   Attempted credentials:
20:36:01     EnvironmentCredential: Authentication failed: 'MsalResponse' object has no attribute 'headers'

The MSAL Python version you are using
msal 1.32.1
pinning to 1.32.0 works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedP1bugregressionBehavior that worked in a previous release that no longer works in a newer release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions