Skip to main content

Notifications

Power Automate - Using Connectors
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

  • efialttes Profile Picture
    efialttes 14,756 on at
    Re: Sharepoint List Flow - Error to Send email

    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

  • mkiss1 Profile Picture
    mkiss1 2 on at
    Re: Sharepoint List Flow - Error to Send email

    Hello,

     

    I currently have the From as "Created By"

    error2.PNG

  • efialttes Profile Picture
    efialttes 14,756 on at
    Re: Sharepoint List Flow - Error to Send email

    @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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics