-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
Description
Describe the bug
When I run the Get-MgBetaUser cmdlet, the property Authentication in the returned object is empty. I am specifically interested in the Authentication\Requirements\PerUserMfaState property and that remains empty.
When I use Invoke-MgGraphRequest to use the Graph API, it returns the requested information just fine:
I also tried adding the "-Property Authentication" parameter to the cmdlet, but that didn't make any difference.
Expected behavior
Return the a fully populated object in the Authentication property
How to reproduce
(Get-MgBetaUser -UserId [GUID]).Authentication.Requirements
SDK Version
No response
Latest version known to work for scenario above?
2.26.1
Known Workarounds
Use the Invoke-MgGraphRequest cmdlet to call the API directly, but that is much slower since I then have to call into that API over and over again.
Debug output
Click to expand log
```</details>
### Configuration
- OS: Windows 11
- PS: v5.1 and v7.5.0
### Other information
I am using the Beta cmdlet, since the Requirements property in the Authentication property is not yet part of the v1.0 API.