As an admin I want to get all the user properties with Get-MgUser -UserId <upn> -Select *

As an admin I want to get all the user properties with Get-MgUser -UserId <upn> -Select *
1

Upvotes

Upvote

 Oct 22 2021
0 Comments 
New

I thought we could use the wildcard -Select * just like with AD or Exchange powershell cmdlets but it doesn't work:

 

Get-MgUser -UserId <upn> -Select * | fl *

vs

Get-MgUser -UserId <upn> -Select OnPremises* | fl *

vs

Get-MgUser -UserId <upn> | fl *

 

Has the exact same output.