Skip to content

Bump MSAL.NET to 4.84.2 and align OWIN binding redirects - #3844

Merged
gladjohn merged 2 commits into
masterfrom
copilot/update-microsoft-identity-client-to-4-84-2
Jun 5, 2026
Merged

Bump MSAL.NET to 4.84.2 and align OWIN binding redirects#3844
gladjohn merged 2 commits into
masterfrom
copilot/update-microsoft-identity-client-to-4-84-2

Conversation

Copilot AI commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Updates the repository-wide Microsoft.Identity.Client version from 4.84.1 to 4.84.2 and brings the ASP.NET MVC OWIN dev-app binding redirects back in sync. The change is limited to the shared package version and Microsoft.Identity.Client assembly redirects; the already re-enabled CAE tests are left untouched.

  • Dependency version

    • Updates Directory.Build.props:
      • MicrosoftIdentityClientVersion: 4.84.14.84.2
  • OWIN binding redirects

    • Updates both Microsoft.Identity.Client dependentAssembly entries in:
      • tests/DevApps/aspnet-mvc/OwinWebApi/Web.config
      • tests/DevApps/aspnet-mvc/OwinWebApp/Web.config
    • Redirects now point to:
      • oldVersion="0.0.0.0-4.84.2.0"
      • newVersion="4.84.2.0"
  • Scope

    • Does not change unrelated assembly redirects.
    • Does not modify ManagedIdentityCaeTests or FederatedIdentityCaeTests.

Example of the redirect alignment:

<dependentAssembly>
  <assemblyIdentity name="Microsoft.Identity.Client"
                    publicKeyToken="0A613F4DD989E8AE"
                    culture="neutral" />
  <bindingRedirect oldVersion="0.0.0.0-4.84.2.0"
                   newVersion="4.84.2.0" />
</dependentAssembly>
Original prompt

Update Microsoft.Identity.Client (MSAL.NET) to 4.84.2 (https://www.nuget.org/packages/Microsoft.Identity.Client/4.84.2). This follows the same pattern as PR #3746 (which bumped MSAL to 4.83.1).

Context / current state

On the master branch today:

  • Directory.Build.props sets MicrosoftIdentityClientVersion to 4.84.1.
  • The OWIN dev-app Web.config files still pin the Microsoft.Identity.Client binding redirect to 4.83.1.0.
  • The Managed Identity CAE tests that PR Bump MSAL to 4.83.1 and re-enable Managed Identity CAE tests #3746 re-enabled are already enabled, so no test changes are needed this time.

Changes Required

  1. Bump the MSAL package version

    • File: Directory.Build.props
    • Change <MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">4.84.1</MicrosoftIdentityClientVersion> from 4.84.1 to 4.84.2.
  2. Update binding redirects to match the new version

    • File: tests/DevApps/aspnet-mvc/OwinWebApi/Web.config
      • There are 2 dependentAssembly entries for Microsoft.Identity.Client (around lines 25 and 125). Update both bindingRedirect elements to oldVersion="0.0.0.0-4.84.2.0" and newVersion="4.84.2.0" (they currently read 0.0.0.0-4.83.1.0 / 4.83.1.0).
    • File: tests/DevApps/aspnet-mvc/OwinWebApp/Web.config
      • There are 2 dependentAssembly entries for Microsoft.Identity.Client (around lines 26 and 126). Update both bindingRedirect elements to oldVersion="0.0.0.0-4.84.2.0" and newVersion="4.84.2.0" (they currently read 0.0.0.0-4.83.1.0 / 4.83.1.0).

    Only change the binding redirects for the Microsoft.Identity.Client assembly — do not touch redirects for any other assemblies (e.g. Microsoft.IdentityModel.*, Microsoft.Identity.Web.*, Microsoft.Identity.Abstractions, System.*).

Notes

  • Do not modify the previously-skipped Managed Identity CAE tests in tests/Microsoft.Identity.Web.Test/ManagedIdentityCaeTests.cs or tests/Microsoft.Identity.Web.Test/FederatedIdentityCaeTests.cs — they are already re-enabled.
  • If there are any other references to a pinned Microsoft.Identity.Client version (e.g. other Web.config binding redirects) that are tied to the package version, search for and update them to 4.84.2.0 as well for consistency, but do not change unrelated dependency versions.
  • Verify the solution builds after the change.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: can you use this PR and bump MSAL to 4.84.2

Assistant: I'll check the current state of the relevant files so the new PR is accurate.

Assistant: I have everything I need. The current state of the repo shows Directory.Build.props is already at MSAL 4.84.1, while the OWIN Web.config binding redirects still point to 4.83.1.0, and the previously-skipped tests are already re-enabled. I'll create a PR (modeled on #3746) to bump MSAL to 4.84.2.

Assistant: I'm waiting for you to approve the task before the coding agent can start creating the pull request to bump MSAL to 4.84.2.

This pull request was created from Copilot chat.

Copilot AI changed the title [WIP] Update Microsoft.Identity.Client to version 4.84.2 Bump MSAL.NET to 4.84.2 and align OWIN binding redirects Jun 5, 2026
Copilot AI requested a review from gladjohn June 5, 2026 16:03
@gladjohn
gladjohn marked this pull request as ready for review June 5, 2026 16:04
@gladjohn
gladjohn requested a review from a team as a code owner June 5, 2026 16:04
@gladjohn
gladjohn merged commit 62d8adc into master Jun 5, 2026
6 checks passed
@gladjohn
gladjohn deleted the copilot/update-microsoft-identity-client-to-4-84-2 branch June 5, 2026 16:28
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.

4 participants