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

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

vipfafen
Frequent Visitor

works like a charm!

 

thank you sir

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,267)