microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Get-MgUser and Get-mgBetaUser perUserMFAState parameter serialisation
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 898
- Forks
- 230
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
Is your feature request related to a problem? Please describe the problem.
The parameter perUserMfaState is now available in the REST API users endpoint from both v1.0 and beta version using
https://graph.microsoft.com/beta/users?$select=id,userPrincipalName,signInActivity,accountEnabled,displayName,perUserMfaState
Describe the solution you'd like.
It would be great to consume this parameter using the SDK
Get-MgUser -property "id,userPrincipalName,signInActivity,accountEnabled,displayName,perUserMfaState"
Thanks
and keep the good work
Additional context?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing how Get-MgUser and Get-MgBetaUser serialize the users endpoint's selected properties, using the provided perUserMfaState REST request as the reference. Confirm that both cmdlets accept perUserMfaState in the -Property selection and produce the expected field in their output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100