Skip to content

Find-EntraPermission needs to have 2 parameter sets as Find-MgGraphPermission #1118

@alexandair

Description

@alexandair

Find-MgGraphPermission has two parameter sets. -All and -SearchString are in separated sets.

Find-EntraPermission has only one parameter set. A user can tab-complete -SearchString and -All, try to use them both, and command will fail at the runtime.

PS> Find-EntraPermission -SearchString "user.read" -All
Find-MgGraphPermission: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions