Skip to content

Commit 39b23a3

Browse files
authored
Merge branch 'dev' into WeeklyApiRefresh/202408061208
2 parents 4fc6e96 + 908a17b commit 39b23a3

File tree

2 files changed

+26
-23
lines changed

2 files changed

+26
-23
lines changed

src/Security/beta/examples/New-MgBetaSecurityAuditLogQuery.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ $params = @{
1010
filterStartDateTime = [System.DateTime]::Parse("String (timestamp)")
1111
filterEndDateTime = [System.DateTime]::Parse("String (timestamp)")
1212
recordTypeFilters = @(
13-
"String"
14-
)
15-
keywordFilter = "String"
16-
serviceFilter = "String"
17-
operationFilters = @(
18-
"String"
19-
)
20-
userPrincipalNameFilters = @(
21-
"String"
22-
)
23-
ipAddressFilters = @(
24-
"String"
25-
)
26-
objectIdFilters = @(
27-
"String"
28-
)
29-
administrativeUnitIdFilters = @(
30-
"String"
31-
)
32-
status = "String"
13+
"String"
14+
)
15+
keywordFilter = "String"
16+
serviceFilter = "String"
17+
operationFilters = @(
18+
"String"
19+
)
20+
userPrincipalNameFilters = @(
21+
"String"
22+
)
23+
ipAddressFilters = @(
24+
"String"
25+
)
26+
objectIdFilters = @(
27+
"String"
28+
)
29+
administrativeUnitIdFilters = @(
30+
"String"
31+
)
32+
status = "String"
3333
}
3434
3535
New-MgBetaSecurityAuditLogQuery -BodyParameter $params

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)