Managing Locations
Every office, hub, or remote-team region is a row in the TeambookLocations SharePoint list inside your site collection. The list is auto-provisioned the first time the directory loads. Manage it from the Manage Locations sidebar item rather than editing the SharePoint list directly.
Opening Manage Locations
- Open any page hosting the directory web part.
- In the sidebar, click Manage Locations (visible only to SharePoint site owners / admins).
- The panel opens with the current list of offices.
One-click import from Microsoft Entra ID
- Click Import from Microsoft 365.
- The panel scans every employee’s
officeLocationfield in Microsoft Entra ID and lists every distinct value. - Tick the offices you want to bring in.
- Click Import.
- Each ticked value becomes a new row in
TeambookLocationswith a default icon and accent colour. Address, photo, timezone, and HQ flag are blank — you fill those in next.
Importing is idempotent. Existing rows are never overwritten.
Editing a location
Click any row to open the editor. Fields:
| Field | Description |
|---|---|
| Title | The display name shown on the Locations grid and detail page. |
| Microsoft Entra ID office value | The exact value in Entra ID that should match users to this location. Case-insensitive. |
| Country | Country name, shown as a subtitle on the location tile. |
| Address | Street address — shown on the detail page; deep-links to Google Maps. |
| Postcode / ZIP | Optional. |
| Phone | Office phone, with tel: click-to-call on the detail page. |
| Office manager email | Optional. Their avatar appears as “Office manager” on the detail page. |
| IANA timezone | e.g. Europe/London, America/New_York, Asia/Tokyo. Required for the optional “show local time per person” feature. |
| Banner photo URL | A photo of the office building or area — shown as the detail-page hero. |
| Thumbnail URL | Optional smaller image for the grid tile. |
| Accent colour | A hex colour for the detail-page hero gradient and the location pill. |
| Headquarters | Tick if this is your HQ — gets a badge and sorts first on the grid. |
| Hidden | Tick to keep the row but hide from the user-facing grid. |
Click Save. Changes appear in the directory on the next page load.
Adding a location manually
- Click + Add location.
- Fill in at minimum the Title and the Microsoft Entra ID office value.
- Add address, timezone, and photo if you have them — these substantially improve the detail-page experience.
- Click Save.
Setting up local time per person
If you want the optional Show local time per person feature (enabled in Settings → Features), every office that should show a clock needs a valid IANA timezone.
Find your timezone identifier here: List of tz database time zones. Examples:
Europe/LondonEurope/BerlinAmerica/New_YorkAmerica/Los_AngelesAsia/TokyoAustralia/Sydney
If an office is missing a timezone, colleagues based there simply won’t show a clock — no error, just hidden.
Headquarters and sorting
Mark exactly one location as Headquarters if you want a prominent HQ badge on the grid and detail page. HQ sorts first, followed by all other locations alphabetically. You can flip the HQ flag between offices any time.
Direct SharePoint-list access (advanced)
The underlying list lives at https://<tenant>.sharepoint.com/sites/<your-site>/Lists/TeambookLocations. You can edit it directly, but the in-app panel is recommended because:
- It validates the IANA timezone against the JS
Intlengine before saving. - It previews the office photo at the size used in the detail-page hero.
- It catches duplicates (same
Microsoft Entra ID office valuetwice).
Column names if you do open the list: Title, EntraOfficeValue, Country, Address, Postcode, Phone, OfficeManagerEmail, TimeZone, PhotoUrl, ThumbnailUrl, AccentColor, IsHeadquarters, Hidden.