Skip to content

Add Azure RBAC PIM approval tools#2722

Draft
Copilot wants to merge 9 commits into
mainfrom
copilot/fix-issue-2130
Draft

Add Azure RBAC PIM approval tools#2722
Copilot wants to merge 9 commits into
mainfrom
copilot/fix-issue-2130

Conversation

Copilot AI commented May 25, 2026

Copy link
Copy Markdown
Contributor

Approvers need a faster way to discover and approve pending Azure RBAC PIM activation requests without relying on Azure Portal handoffs. This adds MCP coverage for listing approvals assigned to the current approver and approving a selected request stage.

  • Commands

    • Added role approval list for pending PIM role assignment approvals at a scope.
    • Added role approval approve with required approval, stage, and justification inputs.
  • Authorization service

    • Added ARM REST support for Microsoft.Authorization/roleAssignmentApprovals.
    • Resolves subscription tenant context before calling approval APIs.
    • Maps approval and stage responses into AOT-safe response models.
  • Docs and coverage

    • Registered the new command group in Authorization setup.
    • Added unit tests for list/approve success and error paths.
    • Updated command docs, E2E prompts, and changelog entry.

Example usage:

azmcp role approval list \
  --subscription <subscription> \
  --scope <scope>

azmcp role approval approve \
  --subscription <subscription> \
  --scope <scope> \
  --approval <approval> \
  --stage <stage> \
  --justification "Approved for incident response"

Copilot AI and others added 9 commits May 20, 2026 07:04
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/mcp/sessions/eff3061d-dbec-4724-b1bf-047846d6d0a8

Co-authored-by: ArthurMa1978 <20514459+ArthurMa1978@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants