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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple different off...
Power Apps
Unanswered

Multiple different office365outlook connectors

(0) ShareShare
ReportReport
Posted on by 126

Hello.

 

I'm using a office365outlook connector to send emails via the sendEmailv2 function. I can connect my own work email and use as the sender but I want to use a different outlook account, the IT account, to send the emails. How can this be done?

 

Thanks in advance!

Categories:
I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @314mp_M0th4 , There is no way to change the From Email using the Office365 Connector. A work around is to create a Power Automate Flow using a Service Account "IT Account" as the flow owner, and then run that flow from the Power Apps. 

     

    If my reply helped you, please give a  👍 , & if it solved your issue, please give a 👍 & Accept it as the Solution to help other community members find it more.

    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.

    Visit my Blog: www.powerplatformplace.com

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

     

     

     

     

     

     

     

     

  • 314mp_M0th4 Profile Picture
    126 on at

    Could I not change the app owner to the desired account and then connect to office365outlook ? Just thought of it.

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @314mp_M0th4, Unfortunately no, because the connector will get the account information of the user who is logged in to the app.

  • 314mp_M0th4 Profile Picture
    126 on at

    Ahh I see, thats no problem for me tho. The one that closes the ticket in my case will be the one sending the email. Thanks.

  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    @314mp_M0th4, then that one who close the Ticket, should login to the PowerApps using the IT email Account.

  • Cr1t Profile Picture
    555 on at

    @314mp_M0th4 

    To send email from different account i use this, i dont know if this is what you are looking for. 

    Office365Outlook.SendEmailV2(
     ABC@xyz.com, // email recipient
     "Test subject ", // email subject
     "This is a test message", // email body
     {From: "ITaccount@xyz.com"} // email sender
     );

    What it does is, even though i have used my account for all the connectors, i can send email from IT account. You can use this format. 

    Note: You should have send as permissions for the IT account. 

    Please click Accept as solution if my post helped you solve your issue.

     

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @Cr1t and @314mp_M0th4, that will require a setup of a shared mailbox and allow members to send emails. It is possible this way but requires too much configuration following these steps:

    Create a shared mailbox in your Microsoft 365 admin center or grant another user delegated access to send emails on your behalf. To do this, follow the instructions provided in these articles:

    Office365.SendEmailV2(
     {
     To: "recipient@example.com",
     Subject: "Email Subject",
     Body: "This is the email body.",
     From: "sharedmailbox@example.com",
     IsHtml: true
     }
    );
    

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard