The SharePoint SendEmail API, known as SP.Utilities.Utility.SendEmail, is an API utilized to send email from within the context of SharePoint. This may include usage within Power Automate, custom code, custom workflows, and web parts within SharePoint.

The SendEmail API is referenced via REST in the following way (“/_api/SP.Utilities.Utility.SendEmail”) while for CSOM, it would be “Utility.SendEmail”.

Important: 

  • Please ensure that you follow the guidance and identify and update any use of the API prior to the deprecation date of October 31st, 2025. No further emails will be sent after this date.

  • Please review the updates that are sent to the Microsoft 365 message center related to the retirement of this API.

  • SharePoint workflows will not be affected by this change. Please refer to SharePoint 2013 Workflow retirement.

Steps to follow 

  1. Identify usage of the Utility.SendEmail API within custom code, custom workflows, or through Power Automate including "SharePoint Send HTTP Request flow action in Power Automate".

  2. For Power Automate, update the API to utilize the Outlook connector (“Send an email”) within the Actions. (More information is available at Overview of using Outlook and Power Automate - Power Automate | Microsoft Learn)

  3. For custom code, or custom workflows, utilize Microsoft Graph user:SendMail API (Automate creating, sending, and processing messages using the Outlook mail API - Microsoft Graph | Microsoft Learn).

Note: These email alternatives do not support sending from a system no-reply email address and emails will need to be sent from valid user accounts.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.