Skip to content

[Bug] MSAL should not crash if instance discovery results in HTTP errors #5546

@bgavrilMS

Description

@bgavrilMS

Library version used

4.77.1

.NET version

  1. Use an airgapped authority and regional
  2. Make instance discoevry call to global endpopint fail with SSL error

Actual: MSAL crashes with the SSL exception
Expected: MSAL shopuld log the error and continue without aliases

Scenario

ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

None

Issue description and reproduction steps

see above

Relevant code snippets

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions