description |
---|
Automatically generated file. DO NOT MODIFY |
Import-Module Microsoft.Graph.Users.Actions
$params = @{
message = @{
toRecipients = @(
@{
emailAddress = @{
address = "samanthab@contoso.com"
name = "Samantha Booth"
}
}
@{
emailAddress = @{
address = "randiw@contoso.com"
name = "Randi Welch"
}
}
)
}
comment = "Samantha, Randi, would you name the group please?"
}
# A UPN can also be used as -UserId.
Invoke-MgReplyUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params