Skip to content

Device - 51001 - Windows Endpoint Privilege Management is configured and assigned#1178

Draft
Manoj-Kesana wants to merge 6 commits into
devfrom
Feature-51001
Draft

Device - 51001 - Windows Endpoint Privilege Management is configured and assigned#1178
Manoj-Kesana wants to merge 6 commits into
devfrom
Feature-51001

Conversation

@Manoj-Kesana
Copy link
Copy Markdown
Collaborator

No description provided.

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

Adds a new device assessment (51001) to evaluate whether Windows Endpoint Privilege Management (EPM) is configured and assigned in Intune, along with accompanying remediation guidance content.

Changes:

  • Introduces Test-Assessment-51001 PowerShell test to query EPM configuration policies and evaluate assignment coverage for required policy types.
  • Generates a markdown results table summarizing detected EPM policies and their assignment targets.
  • Adds remediation/explanation markdown content for assessment 51001.

Reviewed changes

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

File Description
src/powershell/tests/Test-Assessment.51001.ps1 New assessment logic + report generation for Intune EPM policy presence/assignment.
src/powershell/tests/Test-Assessment.51001.md New end-user remediation/background guidance for the assessment.

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

Comment thread src/powershell/tests/Test-Assessment.51001.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.51001.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.51001.ps1 Outdated
@Manoj-Kesana Manoj-Kesana added the ready for review PR is ready for review and merging label Apr 22, 2026
@Manoj-Kesana Manoj-Kesana requested a review from alexandair April 22, 2026 05:43
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.

@Manoj-Kesana Please, address my feedback.

Comment thread src/powershell/tests/Test-Assessment.51001.ps1

# Define variables to insert into the format string
$reportTitle = 'Windows Endpoint Privilege Management policies'
$epmPortalLink = 'https://intune.microsoft.com/#view/Microsoft_Intune_Workflows/SecurityManagementMenu/~/epm'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Portal Link Mismatch

  • Code: https://intune.microsoft.com/#view/Microsoft_Intune_Workflows/SecurityManagementMenu/~/epm
  • Spec: https://intune.microsoft.com/#view/Microsoft_Intune_Workflows/SecurityManagementMenu/~/intuneepm

The fragment is ~/epm in code vs ~/intuneepm in the spec.
I think this should be corrected in the spec.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Spec correction needed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@KalwaniRavi - can you please help with the spec correction for the URL?

MinimumLicense = ('Intune'),
Pillar = 'Devices',
RiskLevel = 'High',
SfiPillar = 'Protect engineering systems',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

SFI Pillar: spec contains invalid value

The spec declares SFI Pillar: Protect devices, which is not in the canonical SFI Pillar value list. Valid values are: Protect engineering systems, Protect identities and secrets, Protect tenants and isolate production systems, Protect networks, Monitor and detect cyberthreats, Accelerate response and remediation.

The code chooses Protect engineering systems, which is valid but a guess. The spec needs to be corrected to a valid SFI Pillar value before the code can match it. Flag the spec for correction; the right value for a Devices/EPM test is likely Protect tenants and isolate production systems or Protect engineering systems.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Spec correction needed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@KalwaniRavi - can you please help here for updating the Spec

Comment thread src/powershell/tests/Test-Assessment.51001.ps1
Comment thread src/powershell/tests/Test-Assessment.51001.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.51001.ps1 Outdated
@Manoj-Kesana Manoj-Kesana marked this pull request as draft April 22, 2026 09:59
@Manoj-Kesana Manoj-Kesana removed the ready for review PR is ready for review and merging label Apr 22, 2026
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.

3 participants