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 / O365 User Search Linke...
Power Apps
Answered

O365 User Search Linked to Office Profile

(0) ShareShare
ReportReport
Posted on by 22

Screen Shot 2020-07-07 at 3.06.47 PM.png

I'm still new to this but attempting to build a proof of concept app for searching O365 users and linking to the users office profile. This seems possible but, I guess my first question is, can this actually be done? If so, any guidance on my next steps is greatly appreciated.

 

So far I've got a combobox using the office365 connector displaying the searched user using the code below for items:

 

 

 

Office365Users.SearchUser({searchTerm:ComboBox1.SearchText,top: 10})

 

 

 

And a button, which in theory, would take you to the selected users office profile OnSelect. If what I'm trying to accomplish is possible this is where I need the help. I found an answer that could potentially assist me here, but the solution references the "Org Browser" sample app which I do not have access to in my version of PowerApps. Any assistance with my app is again greatly appreciated  

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You can add a button in the gallery item and use this formula to navigate to their office profile.

    Launch("https://nam.delve.office.com/?u=" & ThisItem.Id & "&v=work")

     ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @JasonX ,

    Could you please share a bit more about your scenario?

    Where do you want to preview the Office 365 User Profile? Inside your canvas app itself? Open a web page to preview the User Profile?

     

    For the "Org Browser" sample app that you mentioned, actually, it use several standard controls in canvas app, e.g. Label, Gallery, .. to display the Profile info about the user. I have create a app based on the "Org Browser" template, and attached it below, you could open it in your PowerApps directly.

     

    Of course, you could also consider create a Profile Detail Screen in your own app, and then add several controls inside it to display the selected user profile info.

    4.JPG

     

    5.JPG

    Within your HomeScreen, set the OnSelect property of the "Find" button to following:

    Set(Employee, ComboBox1.Selected);Navigate('Profile Detail Screen', ScreenTransition.None)

    Within your Profile Detail Screen, you could reference the detail info of the selected user through the Employee variable. If you want to list the direct reports related to current selected user, please add a Gallery in your Profile Detail Screen, set the Items property to following:

    Office365Users.DirectReports(Employee.Id)

    I also attached my own User Profile Search App below, please refer to it, check if it could help in your scenario.

     

    Best regards,

  • JasonX Profile Picture
    22 on at

    Yes, ideally it would open a web page to the users profile

  • JasonX Profile Picture
    22 on at

    I had to modify it a bit

    Launch("https://nam.delve.office.com/?u=" & ComboBox1.Selected.Id & "&v=work")

    but it seems to work! Though for some reason the page doesn't completely load on the first go, but if I refresh it loads as expected. Weird but I'm sure it has something to do with my connection not the code. Thanks for your help!

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard