web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / toUpper Output Value f...
Power Automate
Answered

toUpper Output Value from Outlook Search For Users

(0) ShareShare
ReportReport
Posted on by 59

I am searching for user via their Last Name and then once I get that output, I am looking to just make the Surname all upper case so that I can cross reference it against another field but it does not seems to changing that data field.  I am using the expression:

 

toUpper(triggerBody()['Search_for_users_(V2)']?['Surname'])
 
and part of my flow is below.  Any help would be much appreciated.
 
Screen Shot 2020-02-21 at 7.28.30 PM.png
Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @bsmith736464 

    I think you should use this expression in the compose value: toUpper(items('Apply_to_each_5')?['Surname']) using the ouput from the search users (v2) action. I have done something similar, and it works:

    2020-02-22 11_16_59-Window.png

    Hope it helps!

    Ferran

     

  • bsmith736464 Profile Picture
    59 on at

    @fchopo  - thank you so much for your help but unfortunately it is still not working.  

     

    I have tried it a couple of ways but from what I can surmise from the output, it looks like "Compose 2" box is only pulling data from the original excel file that is already uppercase instead of the "Search for Users" output that I need it to.  

     

    Screen Shot 2020-02-22 at 1.55.21 PM.png

  • fchopo Profile Picture
    8,003 Moderator on at

    Please, could you share the expression in the "Compose 2" action?

  • Verified answer
    RobElliott Profile Picture
    10,485 Super User 2026 Season 1 on at

    @bsmith736464 the following flow based on your worked for me, pulling the email address from the spreadsheet and putting that into the Search and then using 2 compose controls converting the surname to upper case:

    0-flow.png

     

    1-result.png

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard