Forum Discussion
Dean_Gross
Mar 29, 2022Silver Contributor
Account for Sending Email in Playbook/Logic App
By default, the account used to send an email from a playbook is for a human user and when they leave the organization, the playbook will break. How are others handling this scenario?
3 Replies
- Thijs LecomteBronze ContributorI always recommend using a custom HTTP action with the Graph API and a Managed Identity. This will allow you to send emails without needing a specific username/password
- Dean_GrossSilver ContributorThanks, any chance you have instructions for doing this?
- Thijs LecomteBronze ContributorThis is shows how to do it using Powershell and limit the permissions: https://www.senserva.com/2021/06/09/sending-email-through-the-graph-api-securely-application-permission-scoping/
With this, it's just using an HTTP action instead