cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vivekmurli
Frequent Visitor

Converting array of UPNs to an Array of Display Names

Hi Team,

We have a scenario where we need to get a UPN column from SQL Server and convert the UPNs to their respective display names. The challenge is that the office 365 connector only accepts a single parameter and converts all the other UPNs to a single value(display name) e.g.  If  the column has 2 UPNs namely abc@abc.com and xyz@abc .com , the display names would be abc , abc .

vivekmurli_1-1639581374404.png

Any suggestions would be appreciated.

 

 

3 REPLIES 3
VictorIvanidze
Community Champion
Community Champion

If a column contains several UPNs, convert them to array.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
v-bofeng-msft
Community Support
Community Support

Hi @vivekmurli :

vbofengmsft_0-1639634206659.png

Please use the "Append to string variable" action.

vbofengmsft_1-1639634235226.png

Best Regards,

Bof

 

Thank you for the response Bof,

I followed the steps and getting all the display names , However the challenge is that it is displaying all the Display names in all the cells as shown below.

vivekmurli_0-1639642074132.pngvivekmurli_1-1639642198143.png


Is there a way to put these display names against the respective entries as a separate column as shown below

vivekmurli_2-1639642333291.png


Please let me know if you need more info.








Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,329)