microsoftgraph / msgraph-sdk-powershell

Powershell SDK for Microsoft Graph
https://www.powershellgallery.com/packages/Microsoft.Graph
Other
707 stars 168 forks source link

Missing cmdlets for MFA enforcement #2932

Open NikCharlebois opened 2 months ago

NikCharlebois commented 2 months ago

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 ``` ```

Configuration

No response

Other information

No response

CarolKigoonya commented 2 months ago

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

timayabi2020 commented 2 months ago

@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.