GraphShell Translator / 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"Permissions
Permission information should be confirmed in the official Microsoft documentation.
View official Microsoft documentation