GraphShell Explorer / Commands
Get-MgUser
List Microsoft Entra ID users with optional OData query parameters.
Module
Microsoft.Graph.UsersHTTP
GET v1.0 Stable
GET v1.0 Stable
REST endpoint
GET https://graph.microsoft.com/v1.0/users
Parameters
-Filter -> $filter -Select -> $select -Top -> $top -OrderBy -> $orderby
Equivalent Invoke-MgGraphRequest
Invoke-MgGraphRequest `
-Method GET `
-Uri "https://graph.microsoft.com/v1.0/users"GET /users/{user-id} (v1.0)
Module: Microsoft.Graph.Users
Permissions
Delegated (work or school)
- User.Read (least privilege)
- User.ReadWrite
- User.ReadBasic.All
- User.Read.All
- User.ReadWrite.All
- Directory.Read.All
- Directory.ReadWrite.All
Delegated (personal)
- User.Read (least privilege)
- User.ReadWrite
Application
- User.Read.All (least privilege)
- User.ReadWrite.All
- Directory.Read.All
- Directory.ReadWrite.All
Source: Microsoft Learn endpoint permissions · Official endpoint documentation
Confirm property-specific permissions, Entra roles, licensing and ownership requirements in the official documentation. SDK metadata outside the verified sample is not independently certified.
GET /users (v1.0)
Module: Microsoft.Graph.Users
Permissions
Delegated (work or school)
- User.ReadBasic.All (least privilege)
- User.Read.All
- User.ReadWrite.All
- Directory.Read.All
- Directory.ReadWrite.All
Delegated (personal)
Not supported.
Application
- User.Read.All (least privilege)
- User.ReadWrite.All
- Directory.Read.All
- Directory.ReadWrite.All
Source: Microsoft Learn endpoint permissions · Official endpoint documentation
Confirm property-specific permissions, Entra roles, licensing and ownership requirements in the official documentation. SDK metadata outside the verified sample is not independently certified.