[Location] drop down is not showing in People Directory

Issue:
The location drop down is not showing in Origami People Directory despite the [Location] being populated in Azure AD
image.

Follow these steps to diagnose:

  1. Navigate to your tenant User Profile Service Application:
    https://[your tenant]-admin.sharepoint.com/_layouts/15/TenantProfileAdmin/ManageUserProfileServiceApplication.aspx

  2. Click on [Manage user profiles]
    image

  3. Find a user who has the [Location] field populated in Azure AD. Click [Edit my profile]

  4. Find the [Office Location] attribute on the page.

If it’s blank like this, that means your Azure AD [Location] attribute may be tied to [Office] and not to [SPS-Location].
Origami People Directory uses the [SPS-Location] attribute. Follow the steps to resolve the issue:

To resolve:

  1. Navigate to your Search Service Application in Office 365 tenant:
    https://[your tenant]-admin.sharepoint.com/_layouts/15/searchadmin/ta_listmanagedproperties.aspx

  2. Search for Managed Property called [BaseOfficeLocation]
    image

  3. Click on the drop-down and select [Edit/Map property]

  4. Click the [Add mapping] button and find the [People:Office] property

  5. Add it to the list.

  6. Remove the [SPS-Location] property.

The result should look like this:

  1. Click [OK] to save.

Wait for up to 24 hours for the Office365 system to synch your changes. You will know this configuration worked when you start seeing [Location] drop-down in your People Directory.
image