Hey,
I need some help in achieving the below requirement:
I have a gallery with a search bar that searches for a user.
when i click on the user i want to be able to view the user details in the data table.
I have used the Graph Api and flow for this.
Is this the right way? If then how can i do it?
Thank you
Solved! Go to Solution.
Hi @portalsupport ,
Do you want to list all available users from your tenant inside the Gallery?
Do you want to display the details info for the selected user in the Data Table control?
Further, do you use Microsoft Graph API and Power Automate flow to achieve your needs?
For your scenario, I think there is a better and easier solution to achieve your needs instead of Microsoft Graph API and Power Automate flow -- Office 365 Users connector.
As a direct solution, I think the Office 365 Users connector could achieve your needs. Please consider add a Office 365 Users connection in your app, then set the Items property of the Gallery to following:
Office365Users.SearchUser({searchTerm:TextSearchBox.Text, top:999})
Then within the Data Table, set the Items property to following:
Filter(Office365Users.SearchUser(), Id = Gallery1.Selected.Id)
Please consider take a try with the above solution, check if the issue is solved.
Best regards,
Hi @portalsupport ,
Do you want to list all available users from your tenant inside the Gallery?
Do you want to display the details info for the selected user in the Data Table control?
Further, do you use Microsoft Graph API and Power Automate flow to achieve your needs?
For your scenario, I think there is a better and easier solution to achieve your needs instead of Microsoft Graph API and Power Automate flow -- Office 365 Users connector.
As a direct solution, I think the Office 365 Users connector could achieve your needs. Please consider add a Office 365 Users connection in your app, then set the Items property of the Gallery to following:
Office365Users.SearchUser({searchTerm:TextSearchBox.Text, top:999})
Then within the Data Table, set the Items property to following:
Filter(Office365Users.SearchUser(), Id = Gallery1.Selected.Id)
Please consider take a try with the above solution, check if the issue is solved.
Best regards,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
207 | |
188 | |
80 | |
50 | |
38 |
User | Count |
---|---|
305 | |
262 | |
121 | |
73 | |
57 |