cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Microsoft Graph

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
Highlighted
Community Support
Community Support

Re: Microsoft Graph

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (1,674)