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 / Displaying Application...
Power Apps
Answered

Displaying Application Name when sending email

(1) ShareShare
ReportReport
Posted on by 986

Hi everyone,

I have used Microsoft 365 Outlook connector to send emails. The scenario was as follows:

On my login page, I have a given a option if a user is new then they can register themselves on the application:

Sidhant_02_0-1674544194315.png

 

New User Registration Page/Screen:

Sidhant_02_1-1674544250782.png

After the user enters all the details and clicks on Submit, then I am using the Microsoft Outlook 365 connector (instead of Power Automate)

Sidhant_02_2-1674544395543.png

For the email: I am using the same email that is been entered in the email field. The email is sent but I just wanted to make 1 change to it:

Sidhant_02_3-1674544519074.png

Instead of displaying the current logged in user details (here my name: as the connector is using the Outlook login details) can I set some other name like the application name (Login App) so that the user gets to know that it's about the application that they had registered.

@KeithAtherton 

 

Regards,

Sidhant

Categories:
  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Sidhant_02 
    The easiest way is to hard code the app name on AppOnStart

    Set(
     gblAppGlobalName,
     {
     ApplicationName: "My Project Software",
     ApplicationID: "17718e8c-f2e0-40e1-8be0-f1ab03e73ef7",
     SessionID: Text(
     Now(),
     "ddmmyy-hhmmss"
     )
     }
    );

    And reuse gblAppGlobalName.ApplicationName

    Office365Outlook.SendEmail("your@email.com", "Subject", "Body of the email, App name is: " & gblAppGlobalName.ApplicationName)

     

  • Sidhant_02 Profile Picture
    986 on at

    Hi @Ramole ,
    Thanks for the reply, I did try the solution that you have mentioned:

    Sidhant_02_0-1674551356379.png

    Sidhant_02_1-1674551416792.png

    But I was hoping to get the application name like this: (is it possible?)

    Sidhant_02_2-1674551482685.png

    The email can be optional (which will retrieve the mail of admin which is defined in SharePoint list with User role: Admin)

    Sidhant_02_3-1674551576054.png

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Sidhant_02 
    You can change or add in to different section the subject Email

    Office365Outlook.SendEmail("your@email.com", gblAppGlobalName.ApplicationName, "Body of the email, App name is: " & gblAppGlobalName.ApplicationName)

     

  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Hi @Sidhant_02,

     

    Yes, you can use the Power Apps for Makers connector to get the app name.

     

    More info: https://learn.microsoft.com/en-us/connectors/powerappsforappmakers/#get-app


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard