msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Missing cmdlets for MFA enforcement

Open NikCharlebois opened this issue 1 year ago • 2 comments

Describe the bug

Find-MGGraphCommand cmdlet doesn't return me any cmdlet for the following endpoints, but they do exist in our documentation. How can I tell what cmdlet is mapped to them?

/me/authentication/requirements /users/{id | userPrincipalName}/authentication/requirements

Update authentication method states - Microsoft Graph beta | Microsoft Learn

Expected behavior

The cmdlets should be returned

How to reproduce

1 - Execute Find-mggraphcommand -uri '/me/authentication/requirements'

SDK Version

2.20.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

NikCharlebois avatar Aug 29 '24 13:08 NikCharlebois

Additional info; the API was released in June https://developer.microsoft.com/en-us/graph/changelog/?search=e22b3741-9f9a-4d25-af9d-e935018a8b68

CarolKigoonya avatar Aug 29 '24 13:08 CarolKigoonya

@NikCharlebois Thank you for logging this issue. We are tracking the issue here https://github.com/microsoft/OpenAPI.NET.OData/issues/574 and will update once we get a solution.

timayabi2020 avatar Sep 03 '24 09:09 timayabi2020

Metadata related issue was closed in this PR https://github.com/microsoftgraph/msgraph-metadata/pull/685.

timayabi2020 avatar Feb 05 '25 14:02 timayabi2020