web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint List Flow -...
Power Automate
Unanswered

Sharepoint List Flow - Error to Send email

(0) ShareShare
ReportReport
Posted on by 2

I have a Sharepoint List and want to use the flow: Send Automatic email when new item added. 

The flow originally worked for me, however when another user adds a new line item, the flow does not work. 

I need this Flow to work so when anyone from my team enters a new item in the Sharepoint list, the email is sent from their email.

 

I updated the flow with "Get user profile (V2)"  and added "Created By" 

 

Is the problem because the first part "When a new item is created" is with my Connections? Error1.PNG

Error Details: Action 'Send_an_email_(V2)' failed

Error from token exchange: Connection msmanaged-na/logicflows/9673d215-956c-47c3-9fae-d06ad75db9aa@https://msmanaged-na.azure-apim.net/ is not allowed to access connection msmanaged-na/office365/shared-office365-22124dd8-74d4-4ac0-87df-b8db-0418b119

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    @mkiss1 

    'Send an email' is failing. I guess you assigned a value in the From header, right? If so, you probably do not have permissions to send emails on behalf of this email address, and the flow fails.

    Just to make sure, please expand 'Send an email' action block design by doubleclicking on it (make sure you also click on 'show more details' to see all its current inputs. Once done please share a screenshot.

    Hope this helps

  • mkiss1 Profile Picture
    2 on at

    Hello,

     

    I currently have the From as "Created By"

    error2.PNG

  • efialttes Profile Picture
    14,756 on at

    Hi!

    Just remove the value you assigned to 'From' and your flow will work properly.

    THe point is, you do not have permissions to send emails on behalf of whoever created the item. Think about it: from a security perspective you need the right permissions to do it.

     

    AS @Pstork1 explains in this great response

    "...How to send an email in a Flow without changing the connection but have the email come from another user's mailbox. That can be done by changing the FROM field, under advanced options, in the Send an Email V2 action. But for that to work the maker of the Flow must have Send As permission to the mailbox the email should come from. That can be assigned by an Exchange Administrator or the person who owns the mailbox. This approach doesn't change ownership of the flow, only where the email comes from."

    https://powerusers.microsoft.com/t5/Building-Flows/Creating-a-flow-that-sends-emails-on-behalf-of-another-user/td-p/428865

     

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard