I know there is a way to do this, but I am a relative newcomer to SPO management and am a little lost. I am attempting to use the People Search feature in Sharepoint to create an Employee Directory refinable by location. Unfortunately user Office location is not synchronized to Active Directory like Department and Job Title are. Microsoft says this can be done by calling the API through Powershell, but I've very little experience doing something like this.
Can someone please point me in the right direction or even give me a bit of a walkthrough?