Skip to content

BugFix: Network-25395: Entra Private Access Application segments are defined to enforce least-privilege access#1012

Merged
merill merged 10 commits intodevfrom
test-25395-bugfix
Mar 18, 2026
Merged

BugFix: Network-25395: Entra Private Access Application segments are defined to enforce least-privilege access#1012
merill merged 10 commits intodevfrom
test-25395-bugfix

Conversation

@aahmed-spec
Copy link
Copy Markdown
Collaborator

@aahmed-spec aahmed-spec self-assigned this Mar 6, 2026
@peresys13 peresys13 requested a review from Copilot March 6, 2026 12:34
@aahmed-spec aahmed-spec marked this pull request as ready for review March 6, 2026 12:34
@aahmed-spec aahmed-spec requested review from SagarSathe, alexandair, merill and tdetzner and removed request for Copilot March 6, 2026 12:34
@peresys13 peresys13 requested a review from Copilot March 6, 2026 12:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Network test 25395 to better report Entra Private Access application segmentation findings (least-privilege) by improving portal linking and adjusting Graph queries/error handling.

Changes:

  • Added Entra portal link templates and used them in markdown output tables.
  • Wrapped several Microsoft Graph queries in try/catch with warning logs and fallback values.
  • Tweaked report formatting (segment scope delimiter) and updated the accompanying markdown guidance text.

Reviewed changes

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

File Description
src/powershell/tests/Test-Assessment.25395.ps1 Adds portal URL templates, changes Graph queries (filters + error handling), and adjusts markdown/table output formatting.
src/powershell/tests/Test-Assessment.25395.md Refines description text to remove “Quick Access configurations” example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/powershell/tests/Test-Assessment.25395.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.25395.ps1
Comment thread src/powershell/tests/Test-Assessment.25395.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.25395.ps1
@aahmed-spec aahmed-spec added the ready for review PR is ready for review and merging label Mar 6, 2026
@alexandair alexandair changed the title Network-25395: Entra Private Access Application segments are defined to enforce least-privilege access BugFix: Network-25395: Entra Private Access Application segments are defined to enforce least-privilege access Mar 6, 2026
@aahmed-spec aahmed-spec linked an issue Mar 9, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

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

@aahmed-spec
No need for fallback API calls. Please, remove them.

@aahmed-spec aahmed-spec requested a review from alexandair March 11, 2026 11:29
@aahmed-spec
Copy link
Copy Markdown
Collaborator Author

@aahmed-spec No need for fallback API calls. Please, remove them.

Made changes.

Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

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

LGTM

@merill
Copy link
Copy Markdown
Collaborator

merill commented Mar 12, 2026

@alexandair and @aahmed-spec there are merge conflicts. Can you please fix? tx

@merill merill requested a review from alexandair March 12, 2026 21:44
@merill merill marked this pull request as draft March 12, 2026 21:45
@aahmed-spec aahmed-spec changed the base branch from main to dev March 16, 2026 08:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/powershell/tests/Test-Assessment.25395.ps1
@aahmed-spec aahmed-spec marked this pull request as ready for review March 17, 2026 06:04
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

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

LGTM

@merill merill merged commit ee1ad8b into dev Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review PR is ready for review and merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Netspec 25395 - Spec updates

4 participants