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

Find-MgGraphCommand doesn't return the Permissions property value

Open alexandair opened this issue 1 year ago • 1 comments

Describe the bug

Find-MgGraphCommand doesn't return the Permissions property value for a lot of Microsoft Graph commands.

Expected behavior

The Permissions property is populated with delegated/application permissions.

How to reproduce

Get-Command -Module microsoft.graph.* | where { $null -eq (Find-MgGraphCommand -Command $_.name -ea SilentlyContinue).Permissions}

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_

alexandair avatar Jul 28 '24 15:07 alexandair

@alexandair thank you for identifying and reporting this issue. We have raised the issue with the team tasked with maintaining and availing permissions.

timayabi2020 avatar Jul 30 '24 08:07 timayabi2020