Skip to content

Commit b7fe3ea

Browse files
authored
Merge branch 'dev' into patch-1
2 parents 1323dd9 + 6f24927 commit b7fe3ea

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Users.Actions/v1.0/examples/Reset-MgUserAuthenticationMethodPassword.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ $params = @{
88
newPassword = "Cuyo5459"
99
}
1010
11+
$authenticationMethodId = "28c10230-6103-485e-b985-444c60001490"
12+
1113
Reset-MgUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params
1214
1315
```
14-
This example will user-submitted password
16+
This example will set the submitted password.
1517

1618
### Example 2: System-generated password
1719

@@ -22,8 +24,9 @@ Import-Module Microsoft.Graph.Users.Actions
2224
$params = @{
2325
}
2426
27+
$authenticationMethodId = "28c10230-6103-485e-b985-444c60001490"
28+
2529
Reset-MgUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params
2630
2731
```
28-
This example will system-generated password
29-
32+
This example will generate a password for a cloud only user.

0 commit comments

Comments
 (0)