File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/Users.Actions/v1.0/examples Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ $params = @{
88 newPassword = "Cuyo5459"
99}
1010
11+ $authenticationMethodId = "28c10230-6103-485e-b985-444c60001490"
12+
1113Reset-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+
2529Reset-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.
You can’t perform that action at this time.
0 commit comments