Skip to content

Update Azure Arc managed identity API version from 2019-11-01 to 2020-06-01 - #6130

Merged
Gladwin Johnson VR (gladjohn) merged 2 commits into
mainfrom
copilot/update-azure-arc-api-version
Jul 16, 2026
Merged

Gladwin Johnson VR (gladjohn) merged 2 commits into
mainfrom
copilot/update-azure-arc-api-version

Conversation

Copilot AI commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades the Azure Arc HIMDS token endpoint api-version from 2019-11-01 to 2020-06-01, aligning MSAL.NET with MSAL Python and the Azure Arc team's guidance that 2020-06-01 should be used everywhere.

Changes proposed in this request

  • AzureArcManagedIdentitySource.cs: Update ArcApiVersion constant
    // Before
    private const string ArcApiVersion = "2019-11-01";
    // After
    private const string ArcApiVersion = "2020-06-01";
  • MockHttpManagerExtensions.cs: Update ManagedIdentitySource.AzureArc mock handler expected api-version to match

No other 2019-11-01 occurrences exist in the repo; other managed identity sources (2019-08-01 App Service, 2018-02-01 IMDS, etc.) are untouched.

Testing
Existing Azure Arc managed identity unit tests exercise the mock handler path and validate the new api-version value end-to-end.

Performance impact
None.

Documentation

  • All relevant documentation is updated.

Copilot AI requested review from Copilot and removed request for Copilot July 16, 2026 12:45
Copilot AI changed the title [WIP] Update Azure Arc Managed Identity api-version to 2020-06-01 Update Azure Arc managed identity API version from 2019-11-01 to 2020-06-01 Jul 16, 2026
@gladjohn
Gladwin Johnson VR (gladjohn) marked this pull request as ready for review July 16, 2026 12:48
@gladjohn
Gladwin Johnson VR (gladjohn) requested a review from a team as a code owner July 16, 2026 12:48
Copilot AI review requested due to automatic review settings July 16, 2026 12:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Azure Arc HIMDS managed identity token endpoint api-version from 2019-11-01 to 2020-06-01 in MSAL.NET and aligns the corresponding mock HTTP expectations used by tests.

Changes:

  • Updated AzureArcManagedIdentitySource to request api-version=2020-06-01.
  • Updated the managed identity mock handler for ManagedIdentitySource.AzureArc to expect api-version=2020-06-01.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/client/Microsoft.Identity.Client/ManagedIdentity/AzureArcManagedIdentitySource.cs Updates the Azure Arc managed identity request query parameter api-version via the ArcApiVersion constant.
src/client/Microsoft.Identity.Lab.Api/Http/MockHttpManagerExtensions.cs Updates Azure Arc managed identity mock handler to expect the new api-version value.

Gladwin Johnson VR (gladjohn) pushed a commit to AzureAD/microsoft-authentication-library-for-js that referenced this pull request Jul 16, 2026
…8711)

Aligns MSAL Node with MSAL.NET
([#6130](AzureAD/microsoft-authentication-library-for-dotnet#6130)),
MSAL Python, and Azure Arc team guidance by bumping the HIMDS token
endpoint `api-version` from `2019-11-01` to `2020-06-01`.

## Changes

- **`lib/msal-node/src/client/ManagedIdentitySources/AzureArc.ts`** β€”
update `ARC_API_VERSION` constant:
  ```typescript
  // Before
  export const ARC_API_VERSION: string = "2019-11-01";
  // After
  export const ARC_API_VERSION: string = "2020-06-01";
  ```

- **`change/@azure-msal-node-arc-api-version-2020-06-01.json`** β€”
beachball patch changefile.

No test changes required β€” existing Azure Arc specs import
`ARC_API_VERSION` by reference rather than hardcoding the version
string.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@gladjohn
Gladwin Johnson VR (gladjohn) merged commit ec3d646 into main Jul 16, 2026
17 checks passed
@gladjohn
Gladwin Johnson VR (gladjohn) deleted the copilot/update-azure-arc-api-version branch July 16, 2026 22:10
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.

5 participants