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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "UserprincipalName" an...
Power Automate
Unanswered

"UserprincipalName" and "Displayname" - same output to sharepoitn list

(0) ShareShare
ReportReport
Posted on by 98

Hi all,

 

following problem.
I have a flow that reads out the AzureAD, filters it and transfers the output to a Sharepoint list.

 

get_ext_user.jpg

 

Create sharepoint Item Details:

vipfafen_1-1608500843234.png

UserPrincipalname Claim: UPN from second filter output

Displayname Claims: Displayname from second filter output

 

After a testrun, i get this "input":

vipfafen_2-1608502330873.png

 

... and this output:

vipfafen_3-1608502445218.png

 

 

Output in Sharepoint list... Displayname and UPN are bouth the same outputs. Even when i read out the userid, the output keeps the same =>displayname

vipfafen_0-1608500697417.png

 

What i do wrong?

 

Regards

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: "UserprincipalName" and "Displayname" - same output to sharepoitn list

    I assume the User Display name and UPN Name columns are People columns.  If that is the case then those columsn will contain both the UPN and Display Name for the user as Properties of the object.  But what gets displayed is normally the DisplayName.  So whether you put in a User's UPN or DisplayName you'll always get the same user and the Display Name will show.  If you want to record the UPN and DisplayName make sure the columns are Single Line of Text not People/Group.

  • vipfafen Profile Picture
    98 on at
    Re: "UserprincipalName" and "Displayname" - same output to sharepoitn list

    works like a charm!

     

    thank you sir

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard