Im trying to have one of my dropdowns which gets a list of all users which have their department as "Staff" and their account is enabled. i used this formula initially which worked "officeusers,Filter(Office365Users.SearchUser(),Department = "Staff",AccountEnabled = true).DisplayName"
however not everyone was there as their department was blank or different to "Staff"
I have since corrected this and allowed the half hour for on prem AD to sync to o365 , I have even checked a user in o365 and their department is now showing correct .
but still the list doesn't update , I cant refresh the data source like you could on a SP list, am I missing something in order to get most recent data ?
Solved! Go to Solution.
If you make any change in your formula, the source will refresh. So even just making a mistake in the formula and then correcting it will refresh it.
If you are not getting the values you expect, you might consider (in the formula editor) placing your cursor at the end of the SearchUserV2().value (and yes, you should use V2, not the one you have) in your formula and see what the formula editor shows that it is returning. By clicking on the down arrow in the editor.
you can then see all the data returned and see if it has what you expect.
I hope this is helpful for you.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.