Forum Discussion
Apr 12, 2017
Can we search for only licensed users?
Here's the use case... We've built an Employee Directory which uses Search to format the users nicely. It's based on my blog series here. Unfortunately, we see many users who are no longer at the...
Apr 17, 2017
It is possible to get the license status for a user in POSH (or custom code against Azure AD). I would use that to replicate the status into a user profile field and ensure that field is mapped to a managed property. From there, it is simply an update to the query you have above.
(I don't have easy access to the code, but I could get it if you need.)
Apr 17, 2017
That's complicated!
The more I think about this, the more I believe there must be a better practice to follow, rather than Band-Aiding over things.
The more I think about this, the more I believe there must be a better practice to follow, rather than Band-Aiding over things.
- Apr 18, 2017I would argue that License status is a poor attribute to use to indicate an employee has left the company. Perhaps the process improvement should happen within the company and not the software...
- Apr 18, 2017
Totally agree, thus my interest in "better practices". I would like to advise them about the "right" way, but I don't see anything out there saying what that is.
M.