Skip to content

Bump MSAL to 4.83.1 and re-enable Managed Identity CAE tests#3746

Merged
bgavrilMS merged 2 commits intomasterfrom
copilot/update-msal-to-4-83-1
Mar 13, 2026
Merged

Bump MSAL to 4.83.1 and re-enable Managed Identity CAE tests#3746
bgavrilMS merged 2 commits intomasterfrom
copilot/update-msal-to-4-83-1

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

Updates Microsoft.Identity.Client from 4.82.0 to 4.83.1 and re-enables the Managed Identity CAE tests that were skipped pending this fix (issue #3669).

Changes

  • Directory.Build.propsMicrosoftIdentityClientVersion 4.82.0 → 4.83.1
  • OwinWebApp/Web.config & OwinWebApi/Web.config — Both Microsoft.Identity.Client binding redirects updated to 4.83.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

Create a pull request to update Microsoft.Identity.Client (MSAL) from 4.82.0 to 4.83.1 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.82.0 to 4.83.1
  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.83.1.0" and newVersion="4.83.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.83.1.0" and newVersion="4.83.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.83.1 (https://www.nuget.org/packages/Microsoft.Identity.Client/4.83.1) and re-enables the previously skipped tests.

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

User: see this PR - I need you to create a new one based off of this - @AzureAD/microsoft-identity-web/pull/3745

Enable tests but use MSAL 4.83.1 https://www.nuget.org/packages/Microsoft.Identity.Client/4.83.1

Assistant: I'll create a new pull request based on PR #3745 that enables tests and updates MSAL to version 4.83.1. Let me first examine the current PR to understand what changes were made.

Assistant: I've reviewed PR #3745. Now I'll create a new PR based on it, updating MSAL to version 4.83.1 instead of 4.82.1-preview2 while keeping the test re-enablement changes.

Assistant: I've successfully created a new pull request to update MSAL to version 4.83.1 and re-enable the Managed Identity CAE tests. The PR will:

  1. Update the MSAL version in Directory.Build.props from 4.82.0 to 4.83.1
  2. Update binding redirects in both OwinWebApp/Web.config and OwinWebApi/Web.config to version 4.83.1.0
  3. Re-enable all 5 tests that were skipped due to issue Disabled MSI tests due to instance discovery changes in MSAL for MSI #3669:
    • 4 tests in ManagedIdentityCaeTests.cs
    • 1 test in FederatedIdentityCaeTests.cs

The pull request is now open in the AzureAD/microsoft-identity-web repository with all the necessary changes based on the pattern from the original PR #3745.

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: gladjohn <90415114+gladjohn@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Microsoft.Identity.Client to version 4.83.1 and re-enable tests Bump MSAL to 4.83.1 and re-enable Managed Identity CAE tests Mar 11, 2026
@gladjohn gladjohn marked this pull request as ready for review March 11, 2026 16:12
@gladjohn gladjohn requested a review from a team as a code owner March 11, 2026 16:12
@gladjohn gladjohn requested review from bgavrilMS and trwalke March 13, 2026 02:10
@bgavrilMS bgavrilMS merged commit 56637a0 into master Mar 13, 2026
6 checks passed
@bgavrilMS bgavrilMS deleted the copilot/update-msal-to-4-83-1 branch March 13, 2026 11:54
github-actions bot pushed a commit to EelcoLos/nx-tinkering that referenced this pull request Mar 23, 2026
Updated
[Microsoft.Identity.Web](https://github.com/AzureAD/microsoft-identity-web)
from 4.5.0 to 4.6.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Identity.Web's
releases](https://github.com/AzureAD/microsoft-identity-web/releases)._

## 4.6.0

## What's Changed

* Move boilerplate code skills to IdWeb, and add Aspire DevApp
demonstrating Blazor authentication components by @​Copilot in
AzureAD/microsoft-identity-web#3721
* Bump MSAL to 4.83.1 and re-enable Managed Identity CAE tests by
@​Copilot in AzureAD/microsoft-identity-web#3746
* Bump Abstractions to 11.2 by @​bgavrilMS in
AzureAD/microsoft-identity-web#3749
* Update documentation to reference Blazor helpers from
Microsoft.Identity.Web package by @​Copilot in
AzureAD/microsoft-identity-web#3723


**Full Changelog**:
AzureAD/microsoft-identity-web@4.5.0...4.6.0

Commits viewable in [compare
view](https://github.com/AzureAD/microsoft-identity-web/commits/4.6.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Identity.Web&package-manager=nuget&previous-version=4.5.0&new-version=4.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

3 participants