Updated October 1, 2025: As a reminder from the post announced on October 31st, 2024, we will be retiring the Utility.SendEmail API on October 31st, 2025.
As a reminder, you are able to identify usage of the API via the Purview audit logs in the admin center
- As a tenant admin, navigate to the Microsoft Purview Portal available within the Microsoft 365 Admin Center.
- Open Audit to search for activities.
- Select a date range to run the audit search for (recommend running it for at least 90 days)
- Put the following text, “SendEmailApiInvoked” into the “Activities – operation names” textbox and click search.
- The request will be queued, and results will be available once processed.
- Click on the results and review each of the items.
Use the UserAgent and ApplicationDisplayName to help identify the caller.
[NOTE:] If the ApplicationDisplayName = “Workflow” then the items will be unaffected by this API retirement but will follow the SharePoint 2013 Workflow retirement. We will be retiring the Utility.SendEmail API from SharePoint. The SP.Utilities.Utility.SendEmail could be used to send emails from custom applications or processes within SharePoint Online, including Power Automate, and custom workflows.
From custom code the API can be referenced via REST as (“/_api/SP.Utilities.Utility.SendEmail”) while for CSOM, it would be “Utility.SendEmail” with more information on the original implementation at Utility.SendEmail method for CSOM.
[When this will happen:]
October 31, 2025
[How this will affect your organization:]
Any components, custom code, or Power Automate connections that utilize the SP.Utilities.Utility.SendEmail API, should be updated before the end of life date. The API will stop providing services on the retirement date and will no longer send any email requests from that date.
[What you need to do to prepare:]
Migrate any custom code, power automate, processes or policies running within SharePoint Online that have been configured to send email using the SP.Utilities.Utility.SendEmail API.
The following are recommended or alternative approaches:
- Use Microsoft Graph to send email using the user: SendMail API (Part of the Outlook mail workload) Automate creating, sending, and processing messages
- Customizations through Power Automate may also utilize the Outlook connector and utilize “Send an email” within the Actions. Overview of using Outlook and Power Automate
Learn more:
- Retirement of the SharePoint SendEmail API
- Automate creating, sending, and processing messages
- Overview of using Outlook and Power Automate
- Learn about the Microsoft Purview portal | Microsoft Learn
Source: Microsoft
<<< [MC921752] Archive
Tooltip: View earlier revisions of this post
Latest Posts
- Microsoft Dataverse – Restore deleted Dataverse records within a specified timeframe [MC1262302]
![Microsoft Dataverse - Restore deleted Dataverse records within a specified timeframe [MC1262302] 2 pexels steve 12891176](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) User reported security signals in Teams admin center [MC1227625]
![(Updated) User reported security signals in Teams admin center [MC1227625] 3 pexels droosmo 2958565](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Automatically set work location by connecting to a Wi-Fi network [MC1081568]
![(Updated) Microsoft Teams: Automatically set work location by connecting to a Wi-Fi network [MC1081568] 4 pexels felixmittermeier 957090](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Transitioning Teams Android Device Management from Teams admin Center to the Teams Rooms Pro Management portal [MC1227622]
![(Updated) Transitioning Teams Android Device Management from Teams admin Center to the Teams Rooms Pro Management portal [MC1227622] 5 teddy bear 1835598 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
![(Updated) Retirement of the SharePoint SendEmail API [MC921752] 1 (Updated) Retirement of the SharePoint SendEmail API [MC921752]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-18069490-1024x683.webp)
![Microsoft Dataverse - Restore deleted Dataverse records within a specified timeframe [MC1262302] 2 pexels steve 12891176](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-steve-12891176-150x150.webp)
![(Updated) User reported security signals in Teams admin center [MC1227625] 3 pexels droosmo 2958565](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-droosmo-2958565-150x150.webp)
![(Updated) Microsoft Teams: Automatically set work location by connecting to a Wi-Fi network [MC1081568] 4 pexels felixmittermeier 957090](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-felixmittermeier-957090-150x150.webp)
![(Updated) Transitioning Teams Android Device Management from Teams admin Center to the Teams Rooms Pro Management portal [MC1227622] 5 teddy bear 1835598 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/teddy-bear-1835598_1920-150x150.webp)
![(Updated) Microsoft Copilot dashboard (in Viva Insights): Adoption metrics for Microsoft 365 Copilot Chat [MC1143280] 7 (Updated) Microsoft Copilot dashboard (in Viva Insights): Adoption metrics for Microsoft 365 Copilot Chat [MC1143280]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-johnpet-2115257-150x150.webp)