cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Microsoft Graph

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.

Capture.PNG

I have used the Graph Api and flow for this.

Is this the right way? If then how can i do it?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

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)

 

7.JPG

 

8.JPG

 

Please consider take a try with the above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

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)

 

7.JPG

 

8.JPG

 

Please consider take a try with the above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,346)