Skip to content

Find-MgGraphCommand states New-MgGroupMember is not a valid Microsoft Graph PowerShell command #3143

Closed
@nathanmcnulty

Description

@nathanmcnulty

Describe the bug

Find-MgGraphCommand is unable to find New-MgGroupMember and New-MgBetaGroupMember

Find-MgGraphCommand -Command "New-MgGroupMember"
Find-MgGraphCommand -Command "New-MgBetaGroupMember"

Image

Expected behavior

This should return the commands as seen in the output of the following:

Get-Command -Name New-MgGroupMember
Get-Command -Name New-MgBetaGroupMember

How to reproduce

Run the following two commands in the latest Graph PowerShell:

Find-MgGraphCommand -Command "New-MgGroupMember"
Find-MgGraphCommand -Command "New-MgBetaGroupMember"

SDK Version

2.25.0

Latest version known to work for scenario above?

No response

Known Workarounds

Use Get-Command or Learn docs

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions