I've spent the better part of a day trying to build an Employee Directory in SP Online. I am able to pull a list of users using the Search Results Web Part and the query text
It's working quite well except it includes external users, who are not employees. I have searched high and low for a property I can use to exclude external users and come up empty handed.
Ideally I'd only like to show users with an Office 365 license (this will eliminate staff members who have left). Has anyone done something similar before?
Any help appreciated!