Skip to content

AI - 61006 - AI administrative roles have assigned principals#1237

Draft
aahmed-spec wants to merge 2 commits into
devfrom
test-61006
Draft

AI - 61006 - AI administrative roles have assigned principals#1237
aahmed-spec wants to merge 2 commits into
devfrom
test-61006

Conversation

@aahmed-spec
Copy link
Copy Markdown
Collaborator

AI administrative roles have assigned principals

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 AI pillar assessment (61006) that evaluates whether key Microsoft Entra AI-adjacent administrative roles have at least one assigned principal (active or PIM-eligible), and includes a companion markdown explanation/remediation block for report output.

Changes:

  • Introduces Test-Assessment-61006 PowerShell test to query exported Entra role definition/assignment tables and compute Pass/Investigate/Fail outcomes per role.
  • Generates a markdown results summary table with deep links to the Entra role assignment UI for non-passing roles.
  • Adds end-user documentation describing scope, rationale, and remediation links for the new check.

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.61006.ps1 New assessment test that queries role definition/assignment exports and produces per-role outcomes + report markdown.
src/powershell/tests/Test-Assessment.61006.md New documentation text and remediation links for test 61006 output.

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

Comment thread src/powershell/tests/Test-Assessment.61006.ps1
Comment thread src/powershell/tests/Test-Assessment.61006.ps1
Comment thread src/powershell/tests/Test-Assessment.61006.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.61006.md Outdated
@aahmed-spec aahmed-spec self-assigned this May 25, 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.

2 participants