Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

Using @ symbol in logic app with dynamic content

Brass Contributor

When a alert query uses the AccountcustomEntity mapping, when the case is created the users UPN is broken up into Account Name and UPN suffix, which can be obtained from the case with a logic app step to be used as dynamic content.

 

The code to use UPN suffix as a dynamic step is @{items('For_each')?['UPNSuffix']}.  When I try to generate an email that includes in the body (Account Name)@(UPN suffic), the @ symbol that precedes @{items('For_each')?['UPNSuffix']} causes problems.

 

Has anyone else run into this?

 

Thanks,

 

Andrew

4 Replies

@andrew_bryant: Hi Andrew, thank you for taking your time to post. 

 

Hi @Ofer_Shezaf: Is this something you can speak to? 

@Chris Boehm 

best response confirmed by andrew_bryant (Brass Contributor)
Solution

Hi,

I would recommend that you either initialize a variable at the start, then set that variable, or perhaps use a function concat

@andrew_bryant could you please share the concatenated string. Can't figure out.

IF you are trying to use a hardcoded @, have you tried escaping it by prepending ' ?
1 best response

Accepted Solutions
best response confirmed by andrew_bryant (Brass Contributor)
Solution

Hi,

I would recommend that you either initialize a variable at the start, then set that variable, or perhaps use a function concat

View solution in original post