@Gorilla_8 - lol, it was hard to miss and I was not sure if I really wanted to mess with Gorilla 🙂
I think filter is your best option. I could not find a way to filter in the initial load but you could do this:
On app start or page visible add below code:
ClearCollect(
colMailDomains,
{DomainName: "outlook.com"},
{DomainName: "gmail.com"}
);
ClearCollect(
colAllEmails,
Microsoft365Users.SearchUser({searchTerm: ""})
);
And add below code to Gallery > Items control
Search(
colAllEmails,
First(colMailDomains.DomainName).DomainName,
"Mail"
)
Note: Watch out of case while comparing values, change to Lower or Upper to be on the safe side.
Uday
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.