I have a form field asking for 'best onsite contact for request?' This field has an O365 people lookup control.
Based on who is selected in the 'people' control field, I would like to display next to it the user profile details from O365 as the best contact details for that person.
Is this possible and how do I go about it?
Only user details I can find are display name and email of current user or created by or modified by.