Closed MIchaelMainer closed 3 years ago
Do you mean a cli command that maps to /me
endpoint ? It would be nice to add as part of this issue how it works in Powershell.
Yes. PowerShell doesn't support /me directly.
Customers can however use Invoke-MgGraphRequest -Uri "/me" to get "me" and pass the Id to any Get-MgUser* command. We should consider an equivalent to Invoke-MgGraphRequest so that we can make arbitrary calls. I will close this issue and open a feature request for arbitrary request.
Describe the bug /me is a fundamental concept in Microsoft Graph. We need to support singletons, and this is the most important one to support as it is an alias for /users/user.
This is especially important as the current app is a delegate permission only app.
AB#9404