
Announcements
I have an employee directory search app that I have built and everything works great, except it is pulling in too many users. We have some unlicensed users that have been converted to shared mailboxes with their account enabled, so they still show up in the list because I am filtering by AcccountEnabled = true. Is there a creative way we could filter out unlicensed users?
It looks like the searchuser function only has a limited amount of output options from this site here.
Hi @PowerEmployee7,
A workaround could be to use one of the other fields and set the value of that as unlicensed. You could for example set the department field to unlicensed.
This way you can filter on that to exclude the accounts which have a department set as unlicensed. It is not a great solution, but it could work