Skip to content

Commit

Permalink
Merge branch 'dev' into WeeklyApiRefresh/202408061208
Browse files Browse the repository at this point in the history
  • Loading branch information
timayabi2020 authored Aug 8, 2024
2 parents 4fc6e96 + 908a17b commit 39b23a3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
40 changes: 20 additions & 20 deletions src/Security/beta/examples/New-MgBetaSecurityAuditLogQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ $params = @{
filterStartDateTime = [System.DateTime]::Parse("String (timestamp)")
filterEndDateTime = [System.DateTime]::Parse("String (timestamp)")
recordTypeFilters = @(
"String"
)
keywordFilter = "String"
serviceFilter = "String"
operationFilters = @(
"String"
)
userPrincipalNameFilters = @(
"String"
)
ipAddressFilters = @(
"String"
)
objectIdFilters = @(
"String"
)
administrativeUnitIdFilters = @(
"String"
)
status = "String"
"String"
)
keywordFilter = "String"
serviceFilter = "String"
operationFilters = @(
"String"
)
userPrincipalNameFilters = @(
"String"
)
ipAddressFilters = @(
"String"
)
objectIdFilters = @(
"String"
)
administrativeUnitIdFilters = @(
"String"
)
status = "String"
}
New-MgBetaSecurityAuditLogQuery -BodyParameter $params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ $params = @{
newPassword = "Cuyo5459"
}
$authenticationMethodId = "28c10230-6103-485e-b985-444c60001490"
Reset-MgUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params
```
This example will user-submitted password
This example will set the submitted password.

### Example 2: System-generated password

Expand All @@ -22,8 +24,9 @@ Import-Module Microsoft.Graph.Users.Actions
$params = @{
}
$authenticationMethodId = "28c10230-6103-485e-b985-444c60001490"
Reset-MgUserAuthenticationMethodPassword -UserId $userId -AuthenticationMethodId $authenticationMethodId -BodyParameter $params
```
This example will system-generated password

This example will generate a password for a cloud only user.

0 comments on commit 39b23a3

Please sign in to comment.