Skip to content

Commit

Permalink
All entra m365group commands should accept displayName option
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinM85 committed Nov 6, 2024
1 parent dfbc10f commit 98d50b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/cmd/entra/m365group/m365group-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ m365 entra m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848
Remove group with displayName _Finance_ without prompting for confirmation

```sh
m365 entra m365group remove --displayName 28beab62-7540-4db1-a23f-29a6018a3848 --force
m365 entra m365group remove --displayName Finance --force
```

Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation and without moving it to the Recycle Bin
Expand Down
2 changes: 1 addition & 1 deletion src/m365/entra/commands/m365group/m365group-teamify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class EntraM365GroupTeamifyCommand extends GraphCommand {
}

#initOptionSets(): void {
this.optionSets.push({ options: ['id', 'dispalyName', 'mailNickname'] });
this.optionSets.push({ options: ['id', 'displayName', 'mailNickname'] });
}

#initTypes(): void {
Expand Down

0 comments on commit 98d50b7

Please sign in to comment.