Restore independent PR pipeline + pool-aware MI identity + net462/472 unit tests - #3935
Merged
Iarek Kovtunenko (iarekk) merged 2 commits intoJul 13, 2026
Merged
Conversation
Gladwin Johnson VR (gladjohn)
approved these changes
Jul 9, 2026
Contributor
|
BLOCKING MERGE |
Iarek Kovtunenko (iarekk)
force-pushed
the
iarekk/ado-net-framework-unit-tests
branch
from
July 10, 2026 13:27
24c9053 to
cad4c43
Compare
Restores the 4-stage PR pipeline and extra unit-test coverage from #3933/#3934 (reverted in #3936), with two fixes so the managed-identity E2E test runs on every pool that consumes these tests: - TokenAcquirer MI test now reads the UAMI client id from IDWEB_MI_UAMI_CLIENTID, falling back to the Msal_Integration_tests identity (45344e7d) assigned to the Wilson pool used by the id4s-official pipeline. That pipeline needs no changes. - template-run-managed-identity-e2e-tests.yaml sets IDWEB_MI_UAMI_CLIENTID to the msiv2uami identity (6325cd32) assigned to the MSALMSIV2 pool, so the Id.Web PR pipeline and IdWeb OneBranch official MI job use it. Also re-adds the net472 dotnet test step that VSTest@2 cannot discover on hosted agents. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Iarek Kovtunenko (iarekk)
force-pushed
the
iarekk/ado-net-framework-unit-tests
branch
from
July 10, 2026 15:20
cad4c43 to
21422b3
Compare
Iarek Kovtunenko (iarekk)
requested review from
Bogdan Gavril (bgavrilMS) and
Gladwin Johnson VR (gladjohn)
July 10, 2026 15:44
Gladwin Johnson VR (gladjohn)
approved these changes
Jul 10, 2026
Iarek Kovtunenko (iarekk)
deleted the
iarekk/ado-net-framework-unit-tests
branch
July 13, 2026 09:28
Iarek Kovtunenko (iarekk)
added a commit
that referenced
this pull request
Jul 13, 2026
The ADO PR pipeline now runs the full unit test matrix (incl. net462/472) after #3935, making the dotnetcore.yml GitHub Action redundant. Remove it and rely on the ADO check for PR validation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Jul 17, 2026
Merged
Closed
Closed
Closed
This was referenced Aug 12, 2026
Closed
This was referenced Aug 19, 2026
Closed
This was referenced Aug 30, 2026
Closed
This was referenced Sep 6, 2026
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.
Re-lands the pipeline work reverted in #3936 (#3933 + #3934), plus fixes the managed-identity (MI) E2E identity so the test passes on every pipeline that runs it.
1. Restore reverted work
MSALMSIV2pool.2. Pool-aware MI identity (the reason for the revert)
The MI E2E test hardcoded a UAMI client id. Each build pool has a different identity assigned, so a single constant can't work everywhere — the DevEx
id4s-officialpipeline (Wilson pool) failed with "Identity not found" when master carried themsiv2uamiid.Fix: the test reads the id from
IDWEB_MI_UAMI_CLIENTIDand falls back to the Wilson-pool identity:45344e7d(Msal_Integration_tests, Wilson pool) →id4s-officialneeds no changes.6325cd32(msiv2uami,MSALMSIV2pool), set intemplate-run-managed-identity-e2e-tests.yaml→ used by the Id.Web PR MI stage and the IdWeb OneBranch official MI job (both consume that template).3. .NET Framework unit tests
VSTest@2 can't discover the net462/net472 xUnit tests on hosted agents, so add
dotnet test -f net472steps mirroring the GitHub Action. Not running net462