I'm developing against SharePoint Online. Added 2 custom user properties Agency and Company and populated them for all my users by getting data from the active directory through PowerShell.
I've also created 2 managed properties which are mapping respectively the custom properties.
Now I'm trying to create a PeopleResults page but it seems that I can't find these properties in the refinement webpart.
What should I do? What I'm missing? I've been pulling my hair for two days now.
EDIT:
I've done what has been said in the answers. Instead of creating my own managed properties, I used RefinableSitring00 and RefinableString01 which are managed properties provided by SPO. Mapped my custom props on them and reindexed.
Now I can filter with my custom props but it seems that not all the users are concerned. I have more than 600 users with populated custom props and only about 50 can be filtered.
24h passed since the last reindex and nothing changes. What can be the problem of that?