Customize Logic App to include User Display Name in Group Welcome E-Mail

|
Published

To customize the logic app workflow to include Usernames in Group Welcome Emails, please follow the below steps:

  1. Clone the “eum-admin-Post.Users.AddMemberOf” Logic App to create another one called “ABC- eum-admin-Post.Users.AddMemberOf”. This will ensure that any upgrades do not overwrite the customizations. The pre-fix "ABC" here should be replaced by your company's name.
  2. In the “ABC- eum-admin-Post.Users.AddMemberOf” Logic App, click “Edit”
    Logic_App_Edit.JPG
  3. Click to expand the last step
    Logic_App_If_Welcome_Email.JPG
  4. Click to expand the “Send an email (V2) action
    Logic_App_SendEmail_Action.JPG
  5. Click before the GroupWelcomeEmailBody JSON in the Body area, so you could enter, for example Hello
    Logic_App_SendEmail_Details_1.JPG
  6. Put the cursor after “Hello” so that the DisplayName JSON can be entered after that
  7. Click the Parse JSON – user from the suggestion
    Logic_App_SendEmail_Details_2.JPG
  8. Click to select displayName
    Logic_App_SendEmail_Details_3.JPG
  9. It will be added beside Hello
    Logic_App_SendEmail_Details_4.JPG
  10. Click Save
    Logic_App_Save.JPG
  11. Click to Expand the first item in the Logic App – “When a HTTP request is received”
    Logic_App_Trigger.JPG
  12. Copy the “HTTP Post URL”
    Logic_App_URL.JPG
  13. Go to the EUM Configuration SharePoint Site
  14. Click “Config” under “User Manager”
    SP_EUM_Admin_Config.JPG
  15. Lookout for “LogicAppUrl.Post.Users.AddMemberOf” list item, and click it
    SP_EUM_Admin_Config_LogicApp.JPG
  16. Replace the Value with the one copied in Step 12
    SP_EUM_Admin_Config_LogicApp_Value.JPG
  17. Click anywhere outside to save the changes
  18. In EUM Admin, if the Mail Body is set like this
    Group_Welcome_Email.JPG
    Then the email received will have Hello <displayname> added to the top
    Group_Welcome_Email_2.JPG