Repository navigation
Update Azure Arc managed identity API version from 2019-11-01 to 2020-06-01 - #6130
Merged
Gladwin Johnson VR (gladjohn) merged 2 commits intoJul 16, 2026
Merged
Conversation
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
Gladwin Johnson VR (gladjohn)
marked this pull request as ready for review
July 16, 2026 12:48
Contributor
There was a problem hiding this comment.
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
AzureArcManagedIdentitySourceto requestapi-version=2020-06-01. - Updated the managed identity mock handler for
ManagedIdentitySource.AzureArcto expectapi-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)
approved these changes
Jul 16, 2026
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>
Robbie-Microsoft
approved these changes
Jul 16, 2026
Gladwin Johnson VR (gladjohn)
enabled auto-merge (squash)
July 16, 2026 22:01
Neha Bhargava (neha-bhargava)
approved these changes
Jul 16, 2026
Gladwin Johnson VR (gladjohn)
deleted the
copilot/update-azure-arc-api-version
branch
July 16, 2026 22:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the Azure Arc HIMDS token endpoint
api-versionfrom2019-11-01to2020-06-01, aligning MSAL.NET with MSAL Python and the Azure Arc team's guidance that2020-06-01should be used everywhere.Changes proposed in this request
AzureArcManagedIdentitySource.cs: UpdateArcApiVersionconstantMockHttpManagerExtensions.cs: UpdateManagedIdentitySource.AzureArcmock handler expectedapi-versionto matchNo other
2019-11-01occurrences exist in the repo; other managed identity sources (2019-08-01App Service,2018-02-01IMDS, etc.) are untouched.Testing
Existing Azure Arc managed identity unit tests exercise the mock handler path and validate the new
api-versionvalue end-to-end.Performance impact
None.
Documentation