You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have found that while the AccountEnabled attribute is available and returns valid data directly from the v1.0 version of Graph, the Get-MgUser module must be called using the beta profile (Select-MgProfile -Name "beta") in order to return this data.
Graph Explorer:
Get-MgUser:
The text was updated successfully, but these errors were encountered:
➜ Get-HelpGet-MgUser-Parameter Property
-Property <String[]>
Select properties to be returned
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
PowerShell's Select-Object (| select) is only used for output formatting.
I greatly appreciate the assistance. I would highly recommend outlining this further in the documentation (https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users/get-mguser). Perhaps add a list of the default attributes returned (different between v1 and beta profiles) and an examples that utilize this property. My issue is resolved.
We have found that while the AccountEnabled attribute is available and returns valid data directly from the v1.0 version of Graph, the Get-MgUser module must be called using the beta profile (Select-MgProfile -Name "beta") in order to return this data.
Graph Explorer:
Get-MgUser:
The text was updated successfully, but these errors were encountered: