Forum Discussion
How to make "samAccountName" searchable?
Hello!
We would like our users to be able to search for users "samAccountName" in SharePoint Online.
Since SharePoint Online doesn't have a property for this Active Directory attribute we have created a script that imports this information to a custom property called "SamAccountName" in Sharepoint.
Please see the pictures down below:
Since the information exists, how can I make this "property" searchable? From what I understand we should use "Managed Properties" and "Crawled Properties"? Is that correct, can someone please explain how this works?
Kind Regards,
Anthon
4 Replies
- NiteshRanjanCopper ContributorYes that’s correct understanding. Please refer to the below article.
https://medium.com/plumsail/how-to-create-managed-search-property-for-user-profiles-in-office-365-as-fast-as-possible-ac4a95cd7afb- anthonpxCopper Contributor
I've used the scripts to update all users and waited for over 7 hours now. Should we wait more or did we do anything wrong? Don't really know what to expect.
- NiteshRanjanCopper ContributorThere is something wrong as it shouldn’t take this long. We’re you able to fetch your user profile property as creaked properties before we created a managed property?
- anthonpxCopper Contributor
NiteshRanjan wrote:
Yes that’s correct understanding. Please refer to the below article.
https://medium.com/plumsail/how-to-create-managed-search-property-for-user-profiles-in-office-365-as-fast-as-possible-ac4a95cd7afbNiteshRanjan Thank you so much for the answer, great article. I'll guess we just have to wait now. :)