Hi all,
I am trying to use an extensionAttribute from AAD (extensionAttribute2) and use that field to supply an email address to use for a mailout.
Basically the flow is (supposed) to identify that a new user has been added to a particular Microsoft Teams channel, grab some files from a sharepoint site, then attach those files, then send an email to their personal email address (which is placed into the extensionAttribute2 field upon creation of user via Powershell).
Nearly everything works except for the very last step, the retrieval of the email address, where the flow breaks. I am just struggling to work out how to tell the "Send an email (V2)" section with the value from AAD (which is synced up from AD on-prem). The value is there in AAD, but I just can't work out how to grab that value and use it as the TO" field in the outgoing email.
I was originally trying to use this to get the value, but pretty sure I am miles off and should be using another way.
Any assistance would be greatly appreciated. It's the only part I can't get to successfully work.