COMMAND EVERYTHING.
List Microsoft 365 users through Microsoft Graph.
Microsoft 365 · Risk: Moderate · Review RequiredGet-MgUser -Top 10Copied 0 timesMicrosoft.Graph.Users module. First authenticate using Connect-MgGraph with an appropriate permission such as User.Read.All and required tenant consent.
Read-only directory operation. Protect personal data. Results are limited to ten users in this example.
Get-MgUser -Top 10List Microsoft 365 users through Microsoft Graph. Read-only directory operation. Protect personal data. Results are limited to ten users in this example.
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.users/get-mguser
Sign in to keep your own command reference lists.
Explain or customize this command with AI