I'm trying to change the Query Transform
so that I don't include Deactivated users in the result
This is the default value of the Local People Results
{?{searchTerms} ContentClass=urn:content-class:SPSPeople}
What I found so far is that I need to include something like this (&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))
But whatever I try it doesn't work. I double checked that I do have some disabled users in my SharePoint Online solution.
Do anyone know how to combine this 2 into a working one or does anyone else have a working example.