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.
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.
In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.