microsoftgraph / microsoftgraph/msgraph-sdk-powershell

Get-MgUser and Get-mgBetaUser perUserMFAState parameter serialisation

Open
#3,368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dependency: metadata-issue Status: Needs Investigation type:feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.