Microsoft Entra PIM API Retirement: Migrate by October 28

Microsoft will retire the Microsoft Entra Privileged Identity Management (PIM) Iteration 2 beta APIs on October 28, 2026. Calls to /beta/privilegedAccess will stop returning data, potentially breaking privileged-access automation, reports, reviews, and activation workflows.

What architects need to know

  • Effective date: October 28, 2026.
  • Retired surface: Microsoft Graph beta PIM Iteration 2, including /aadRoles and /azureResources.
  • Replacement: Iteration 3 GA APIs in Microsoft Graph for Entra roles and groups, and Azure Resource Manager for Azure resource roles.
  • Failure mode: scripts can authenticate successfully yet receive no data or fail downstream processing.

This is more than a version change

Iteration 2 grouped PIM operations under Microsoft Graph beta. The current architecture separates providers by managed resource. Microsoft Entra roles and PIM for Groups use Microsoft Graph, while Azure resource roles use Azure Resource Manager APIs.

ScenarioIteration 2Iteration 3
Microsoft Entra rolesGraph beta /privilegedAccess/aadRolesGA Microsoft Graph unifiedRole* resources
Azure resource rolesGraph beta /privilegedAccess/azureResourcesAzure Resource Manager PIM APIs
PIM for GroupsLegacy beta implementationsGA Microsoft Graph privilegedAccessGroup* resources

You cannot migrate by replacing /beta with /v1.0. Resource types, permissions, request schemas, and—in the Azure RBAC case—the API control plane all change.

How to discover affected dependencies

  1. Search repositories, runbooks, and pipelines for /beta/privilegedAccess, /aadRoles, /azureResources, governanceRoleAssignmentRequest, and governanceRoleSetting.
  2. Review Azure Automation, Functions, Logic Apps, PowerShell, app registrations, and third-party governance products.
  3. Inspect service-principal sign-in logs for applications calling Microsoft Graph or Azure Resource Manager with privileged permissions.
  4. Classify each workflow: assignment reads, eligibility creation, activation, extension, renewal, cancellation, or policy management.

Recommended migration map

  • For active or eligible Entra role assignments, use unifiedRoleAssignmentScheduleRequest and unifiedRoleEligibilityScheduleRequest.
  • For Azure roles, use ARM Role Assignment Schedule Requests and Role Eligibility Schedule Requests.
  • For PIM for Groups, use privilegedAccessGroupAssignmentScheduleRequest and privilegedAccessGroupEligibilityScheduleRequest.
  • For approval, maximum activation duration, and notification rules, use roleManagementPolicy and roleManagementPolicyAssignment.

For Azure Resource Manager, the automation identity needs sufficient rights at the managed scope. Microsoft states that managing Azure resource PIM generally requires at least Owner or User Access Administrator.

Validation plan

  • Run Iteration 2 and Iteration 3 in parallel and compare counts, principals, role definitions, scopes, dates, and states.
  • Test delegated and app-only permissions where applicable.
  • Validate pagination, filters, error handling, and eventual consistency.
  • Confirm activations and expirations appear correctly in the portal and audit records.
  • Update dashboards, alerts, and runbooks before removing the old code.

Conclusion

The deadline is immediate. The main risk is not the Entra portal—it is the silent integrations that underpin privileged-access governance. Inventory the endpoints and migrate by provider: Graph for Entra roles and groups, ARM for Azure roles.

For a broader look at modern DevOps governance, read our guide to the Microsoft AZ-401 Agentic DevOps certification.

Official sources

Leave a Comment