Skip to content

🚀 -ExpandProperty support #1452

Open
@SteveMutungi254

Description

@SteveMutungi254

Current Challenge:

Users often query complex Graph objects with deeply nested properties (e.g., user.assignedLicenses, group.members). Without -ExpandProperty, users must manually parse nested objects or make additional Get-Mg* or API calls, which increases script complexity and runtime. This is not ideal for usability.

Why it matters:

Entra PowerShell reduces customer friction and improves usability through thoughtful cmdlet and parameter design. This feature supports that goal. Admins frequently need nested data (e.g., user's manager, group membership, license assignments) in reporting and automation tasks.

-ExpandProperty provides a first-class experience for common identity and access management scenarios - addressing real-world scenarios.

Benefits:

  • Reduces Number of API Calls - this reduces throttling risks and speeds up large batch operations—critical in large tenants.
  • Aligns with Microsoft Graph REST API Capabilities - the underlying Microsoft Graph API supports $expand for many properties (e.g., /users?$expand=manager). Supporting -ExpandProperty in PowerShell ensures feature parity and reduces the learning curve for Graph API users transitioning to PowerShell.

Roadmap tracker:

This issue serves as a Entra PowerShell Public Roadmap.

Metadata

Metadata

Labels

Projects

Status

Q2 2025 – Apr-Jun

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions