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 Apps / Default selected user ...
Power Apps
Answered

Default selected user with connector User office 365

(0) ShareShare
ReportReport
Posted on by 169

Hello, I recently changed my database for my app to dataverse instead of using microsoft list, so instead to use the user field of my microsoft list in my app I now use the User Office 365 connector, but now in my ComboList it's weird it show that it have selected the right default user but only in appearance because in fact nothing is selected in the list, it's as if I had a phantom user, the problem is that I use this field to automatically fill in another field which suddenly ends up empty unless I go and select the right user manually.
here the code for the defautSelectedItem in the comboBox

 

{
 DisplayName: User().FullName;
 Claims: "i:0#.f|membership|" & Lower(User().Email);
 Department: "";
 Email: User().Email;
 JobTitle: "";
 Picture: ""
}

 

here the code for the Item property :

 

'Utilisateursd’Office365'.SearchUser({searchTerm: Trim(Cbtech.SearchText); top: 15})

 

 Does someone know how to fix this problem ?

Categories:
  • Verified answer
    BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Dive1 ,

     

    Try adding the Users table to your app and then setting the DefaultSelectedItems property of the combo box to:

    LookUp(Users,'Primary Email' = User().Email)

     

  • Dive1 Profile Picture
    169 on at

    Hello, Thanks it worked with the User Table instead of user office 365.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard