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 Apps
Answered

Leave Request App

(0) ShareShare
ReportReport
Posted on by 116
Hi All, I am new with PowerApps. Play around with the Leave Request template.

What I am trying to do is, how to create the get 365 users same like the approver email. The situation is, one email for the approver (already there on template) and one more email for the Supervisor for example.

Thanks for any advice,
Z
Categories:
  • Anwar Profile Picture
    4 on at

    Hai Daroot

     

    I am also looking for same solution, if you find any solution let me know

  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @daroot,

     

    If here you are talking about the Creat New Request part, then within the OnSelect property of the Save button, the Email function is:

    Office365.SendEmail(Office365Users.UserProfile(NewLeaveApproverID).Mail, "Leave Request Approval", emailHtml,{IsHtml:true, Importance:"normal"});

    107.PNG

     

    If additional Email need to be sent, then please consider add another line behind the formula above:

    Office365.SendEmail(
    Office365Users.UserProfile(NewLeaveApproverID).Mail, 
    "Leave Request Approval",
     emailHtml,
    {IsHtml:true, Importance:"normal"});
    Office365.SendEmail(
    SupervisorEmailAddress, 
    "Leave Request Approval",
     emailHtml,
    {IsHtml:true, Importance:"normal"});

     

    Regards,

    Michael

  • Anwar Profile Picture
    4 on at

    Dear Michael

     

    Appreciate your reply.

     

    Where we will configure the supervisor email address, as the application will be for the whole company and the supervisor for each department will be different.

     

    Anwar

  • daroot Profile Picture
    116 on at
    Hi Michael, nice solution. And thanks for the explanation
  • daroot Profile Picture
    116 on at

    Hi @v-micsh-msft,

     

    On the Approver email address is it possible to used a button and parse the value as the selected value. So the users no need to pick the on popup page, since the only 5 managers on the system. If possible how to do it?

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-micsh-msft ,

     

    My leave request is sending email to me and not to my manager.

    Help!!

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 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard