I'm trying to set a REST CALL to:
"https://...../_api/SP.Utilities.Utility.SendEmail",
method: POST,
body:
{
'properties': {
'__metadata': {
'type': 'SP.Utilities.EmailProperties'
},
'To': {
'results': ['test group ']
},
'Body': '<p>This is a test email</p>',
'Subject': 'Test email from MS Flow'
}
It does not work because it's not properly formatted as JSON... i tried even:
{
"properties": {
"__metadata": {
"type": "SP.Utilities.EmailProperties"
},
"To": {
"results": ["Bulk Data Alteration - Supervisors"]
},
"Body": "<p>This is a test email</p>",
"Subject": "Test email from MS Flow"
}
serviceRequestId: be13629f-2030-a000-0886-2796d502dbcb
Hi,
Thank you for your follow up! Hopefully it will be useful for future communities users.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
My bad,
the code above is correct.
source: https://www.c-sharpcorner.com/article/send-email-to-sharepoint-groups-from-ms-flow/
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492