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 Apps / Cloud Flow connections...
Power Apps
Unanswered

Cloud Flow connections in App

(0) ShareShare
ReportReport
Posted on by 29

Greetings,

 

I created a simple App and would like to have an email sent to a group email account when a co-worker adds a new row to a Dataverse table. I've tried creating a Cloud Flow outside of the App and one integrated into the App. The one created with Cloud Flow outside of the app keeps giving me the error "You are not authorized to send mail on behalf of the specified sending account." the one inside the app doesn't do anything.  But when my co-worker tried opening the app it asked him to login to outlook and 365, but it wouldn't let him. 

 

I'm guessing that the one I built in Cloud Flow will only work for me since it is using my account for the connections. And the one inside of the app is buggy.  Is there another way to do this?

 

Thank you,

 

RogersB

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @RogersB ,

     

    Did you set the 'Send as' property ? If so, then your account needs to have the 'send as' permission of this account to avoid errors.

    vbofengmsft_0-1667965551818.png

    vbofengmsft_1-1667965663676.png

    If it is a flow in the APP, when the user opens the APP, it will ask the user to provide their own credentials, and when the user calls this flow in the app, it is using its own credentials to run this flow.

     

    Best Regards,

    Bof

     

  • RogersB Profile Picture
    29 on at

    @v-bofeng-msft  Thank you for the reply!  Realized later that I probably could have typed my question up a bit better, was the end of a long shift and was tired.

     

    I've been testing Flows a lot in the last couple weeks and I realize that Cloud Flow is trying to use my account to send out the emails.  I tried to change the "From (Send as)" section in the 'Send an email (V2)' before and it still errored out giving me the "You are not authorized to send mail on behalf of the specified sending account.".

     

    So I guess my hopefully clearer follow up question is;  Is there something I can put in the "From (Send as)" section that would have Cloud Flow use the users email account who made the changes instead of mine?  Or do I have to have each one of my co-workers create a connection in that Cloud Flow for it to work for each of us separately?  Is that even an option?

     

    Ideally, I want Cloud Flow to use the user that added/edited the Dataverse Table row to automatically send the email out to the group from their account. 

     

    Thank you again for the assistance. 

     

    RogersB

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @RogersB ,

     

    What is the flow's trigger?

     

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard