I'm attempting to get a gallery to display a list of office 365 users on my domain. I've connected to Office 365 Users but, when I attempt to make it the Gallery's data source it does not appear on the list. I've tried disconnecting it and then reconnecting to it multiple times but it still doesn't work.
I've already got the gallery set up to display the list of names, the problem is that the Office 365 Users connector won't let me pick it as the data source for the gallery. Whenever I select the connector and click on it, the data source dropdown remains empty, as does the data in the fields window.
Hi! You could try this: Overview of the Office 365 Users connection - Power Apps | Microsoft Docs
Add a Text input control (Insert menu > Text), and rename it SearchTerm. Enter a name to search. For example, enter your first name.
Add a With text gallery (Insert menu > Gallery), and set its Items property to the following formula:
Office365Users.SearchUser({searchTerm: SearchTerm.Text})
The gallery shows users whose name contains the search text you entered.
With the gallery selected, the right-hand pane shows options for that gallery.
In the second list, select Mail. In the third list, select DisplayName.
The second and third labels in the gallery are updated.