Skip to content

Bug report: Incorrect Examples in "aad o365group user set" Command #4972

@Saurabh7019

Description

@Saurabh7019

Priority

(Low) Something is a little off

Description

There is an issue in the documentation for the "aad o365group user set" command. The provided examples in the documentation incorrectly use the "list" option instead of the expected "set" option.

Steps to reproduce

  • Execute m365 help aad o365group user set and verify the examples.

Expected results

m365 aad o365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName '[[email protected]](mailto:[email protected])' --role Owner

m365 aad o365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName '[[email protected]](mailto:[email protected])' --role Member

Actual results

m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --userName '[[email protected]](mailto:[email protected])' --role Owner

m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --userName '[[email protected]](mailto:[email protected])' --role Member

Diagnostics

No response

CLI for Microsoft 365 version

v6.9.0

nodejs version

v18.16.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions