Bugfix/issue 1194: fix issues related to test 21835#1211
Draft
sandeepjha000 wants to merge 5 commits into
Draft
Conversation
Collaborator
sandeepjha000
commented
May 11, 2026
- Align pass/fail thresholds with spec: <2 Fail, ==2 Pass, >2 Investigate (via -CustomStatus Investigate, matching Test-Assessment-21816).
- Update Pass/Fail messages to spec wording; Investigate message focuses on break-glass scope.
- Use splatting for Add-ZtTestResultDetail to conditionally include CustomStatus.
- Precompute $userRoleTemplateIds to drop the O(n·m) Where-Object role lookup per CA policy.
- Short-circuit per-user CA evaluation when there are zero enabled CA policies.
- Use transitiveMemberOf/microsoft.graph.directoryRole so role-assignable group memberships are included.
- Sort the permanent GA table on underlying booleans instead of emoji glyphs.
- Deduplicate authentication methods in the Emergency access accounts table.
Co-authored-by: Copilot <copilot@github.com>
…lookups Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
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.