Found what I was doing wrong.. Please ignore this. 🙂
Russ_Rimmerman This is really great post.
I am trying this out but it's failing at "DisplayName" step with below error: "Unable to process template language expressions in action 'DisplayName' inputs at line '1' and column '2796': 'The template language function 'substring' parameters are out of range: 'start index' and 'length' must be non-negative integers and their sum must be no larger than the length of the string. Please see https://aka.ms/logicexpressions#substring for usage details.'."
Output for Remove_Linefeeds: "Hi there,Username [UserID] (Domain\UserID) wants to install Applicationname on the device titled Hostname.User's comments:Please approve.Please click one of the buttons below to approve or deny this request.Approve[HTTPS://SiteServerFQDN/AdminService/v1.0/UserApplicationRequest/AdminService.ApproveRequest(Guid='xyz')]Deny[HTTPS://SiteServerFQDN/AdminService/v1.0/UserApplicationRequest/AdminService.DenyRequest(Guid='xyz)]Note: these links only work when connected to your internal network."
Output for "Index_of_dash": -11
Is there something I am doing wrong?