Skip to content

Commit

Permalink
Update New-AzADGroupOwner.md (#25094)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoriZC authored Jun 6, 2024
1 parent 07df4dc commit 4f33d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/MSGraph.Autorest/examples/New-AzADGroupOwner.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### Example 1: Assign a user as onwer of a group
### Example 1: Assign a user as owner of a group
```powershell
$userId = (Get-AzADUser -DisplayName "John Doe").Id
$groupId = (Get-AzADGroup -DisplayName "someGroup").Id
New-AzADGroupOwner -GroupId $groupId -OwnerId $userId
```

Assign a user as onwer of a group
Assign a user as owner of a group

0 comments on commit 4f33d2c

Please sign in to comment.