I have following comboBox for selecting a single office365 user which works:
Filter(Office365Users.SearchUser({searchTerm:Cobo_FindNewUser.SearchText, top:10}).Mail,IsBlankOrError(Mail)=false)
Based on this ComboBox I set up a Gallery which partially works;
Office365Users.UserProfile(Combo_FindNewUser.Selected.Mail)
error message: Office365User.Userprofile failed. 'UserProfile' has an invalid value parameter for 'userid'
Tried to start app with ComboBox with DefaultSelectedItem, a lot of workarounds to get rid of the error...but nothing works so far.
Need help to get rid of the error. Thanks!