Skip to content

Bump MSAL to 4.82.1-preview2 and re-enable Managed Identity CAE tests#3745

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/update-msal-package-version
Closed

Bump MSAL to 4.82.1-preview2 and re-enable Managed Identity CAE tests#3745
Copilot wants to merge 2 commits intomasterfrom
copilot/update-msal-package-version

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 6, 2026

MSAL 4.82.1-preview2 resolves CAE support for Managed Identity flows, unblocking the tests that were skipped under issue #3669.

Changes

  • Directory.Build.propsMicrosoftIdentityClientVersion: 4.82.04.82.1-preview2
  • OwinWebApp/Web.config & OwinWebApi/Web.config — Both Microsoft.Identity.Client binding redirects updated to 4.82.1.0
  • ManagedIdentityCaeTests.cs — Re-enabled 4 tests:
    • ManagedIdentity_ReturnsBearerHeader
    • ManagedIdentity_WithClaims_HeaderBypassesCache
    • UserAssigned_MI_Caching_and_Claims
    • SystemAssigned_MSI_Forwards_ClientCapabilities_InQuery
  • FederatedIdentityCaeTests.cs — Re-enabled ManagedIdentityWithFic_WithClaims_BypassesCache
Original prompt

Update Microsoft.Identity.Client (MSAL) from 4.82.0-preview-1 to 4.82.1-preview2 and re-enable the Managed Identity CAE-related tests that were previously skipped for issue #3669.

Changes Required

  1. Bump MSAL package version

    • File: Directory.Build.props
    • Change <MicrosoftIdentityClientVersion> from 4.81.0 to 4.82.1-preview2
  2. Update binding redirects to match the new version

    • File: tests/DevApps/aspnet-mvc/OwinWebApp/Web.config
      • Update bindingRedirect for Microsoft.Identity.Client (2 instances) to oldVersion="0.0.0.0-4.82.1.0" and newVersion="4.82.1.0"
    • File: tests/DevApps/aspnet-mvc/OwinWebApi/Web.config
      • Update bindingRedirect for Microsoft.Identity.Client (2 instances) to oldVersion="0.0.0.0-4.82.1.0" and newVersion="4.82.1.0"
  3. Re-enable Managed Identity CAE tests (remove Skip for issue 3669)

    • File: tests/Microsoft.Identity.Web.Test/ManagedIdentityCaeTests.cs
      • Remove Skip = "See https://github.com/AzureAD/microsoft-identity-web/issues/3669" from:
        • ManagedIdentity_ReturnsBearerHeader
        • ManagedIdentity_WithClaims_HeaderBypassesCache
        • UserAssigned_MI_Caching_and_Claims
        • SystemAssigned_MSI_Forwards_ClientCapabilities_InQuery
    • File: tests/Microsoft.Identity.Web.Test/FederatedIdentityCaeTests.cs
      • Remove Skip = "See https://github.com/AzureAD/microsoft-identity-web/issues/3669" from ManagedIdentityWithFic_WithClaims_BypassesCache

This updates the MSAL version to 4.82.1-preview2 (which resolves CAE support for Managed Identity flows) and re-enables the previously skipped tests.

This pull request was created from Copilot chat.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…AE tests

Co-authored-by: gladjohn <90415114+gladjohn@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Microsoft.Identity.Client to version 4.82.1-preview2 Bump MSAL to 4.82.1-preview2 and re-enable Managed Identity CAE tests Mar 6, 2026
@gladjohn
Copy link
Copy Markdown
Contributor

gladjohn commented Mar 6, 2026

cc: @bgavrilMS

MSAL public preview with Probe fix. https://www.nuget.org/packages/Microsoft.Identity.Client/4.82.1-preview2

Used that version and re-enabled IdWeb CAE tests and all looks good. FYI. This was just a test run, will close this PR now and will redo once we release MSAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants