Skip to content

Issues with MFA for some tenants #48

@RickardN-CRMK

Description

@RickardN-CRMK

In some tenants I get an error when trying to authenticate using dataverse-auth@2.
The error is
Authentication failed: InteractionRequiredAuthError: invalid_grant: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access ''. Trace ID: 251019fc-a6d8-4dbe-9c46-2d6299850000 Correlation ID: 94d7951c-d817-455e-ad91-71cbebc1dfd3 Timestamp: 2025-09-23

I don't get an MFA prompt for these tenants.

I can authenticate using MFA with that account everywhere else and I can authenticate with other tenants (and obviously accounts) with dataverse-auth@2.

(also tried with device code but that's not allowed either and I haven't found anything on what is needed on the Azure side to allow it, but it would really be nice to have the mfa working)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions