Create your own work locations in Outlook and Microsoft Places

In the standard configuration users can select “Office” for work locations in Outlook. Outlook now shows in the calendar which colleagues are also at the work location on a particular day. The Office standard configuration can become confusing again with the “Office” entry if many people use the feature.

Read:  “Who is in the office?” in the Outlook calendar

Exchange administrators can use Microsoft Places to define new work locations and floors. Outlook shows which people are at each work location. This reduces the number of people compared to “Office”.
The Outlook calendar itself does not yet use floors for work locations. Floors are relevant for the Microsoft Places app. Microsoft Places was unveiled in October 2022 and has been in public preview since May 2024.

  • Exchange administrators need the Microsoft Places PowerShell module for configuration. This is still an alpha version.
  • The objects in Microsoft Places consist of one building, several floors per building and several meeting rooms or work desks per floor. The objects are linked together using PowerShell.

Install the Microsoft Places module with PowerShell 7.

PowerShell
 Install-Module –Name MicrosoftPlaces –AllowPrerelease -Force


Microsoft provides two options for configuring work locations and floors.

  1. A wizard provides support in PowerShell with an export of the currently configured resources. In the next step, the wizard supports the creation of a work location + floors and the linking with existing resources. Microsoft guides you through the steps for existing resources in the instructions.
  2. Without the wizard, an Exchange administrator links the objects independently with PowerShell.

In my opinion, the wizard from option 1 is not required. It works very well without the wizard.

Microsoft mentions it for manual creation as follows.
You create a building with PowerShell, then a floor at the location (it is linked to the building), in the third step an existing meeting room or work desk which is linked to the floor. If you have several locations / floors, repeat the steps. For work locations in Outlook, you could also just create the buildings for the time being. The additional objects are required later for the Microsoft Places app.

The Microsoft Places module includes 21 commands in the current version (0.40). Individual commands are described in the documentation.

PowerShell

With New-Place you create new buildings and floors.
Tip, try to keep the name of a building short. Outlook will not display long names in full and will abbreviate them.

Nicht empfohlen, lange Namen für Arbeitsorte
Not recommended, long names for work locations

I create four new locations. The parameters Type and Name are required, the others are optional.

PowerShell
Connect-MicrosoftPlaces

# Create new buildings
$BuildingCHBern1 = New-Place -Type Building -Name "BE-Ostring" -City "Bern" -PostalCode 3006 -CountryOrRegion "CH"
$BuildingCHBern2 = New-Place -Type Building -Name "BE-Schwarztorstrasse" -City "Bern" -PostalCode 3007 -CountryOrRegion "CH"
$BuildingCHBiel = New-Place -Type Building -Name "BE-Biel" -City "Biel" -PostalCode 2503 -CountryOrRegion "CH"
$BuildingCHZurich = New-Place -Type Building -Name "ZH-Leutschenbach" -City "Zurich" -PostalCode 8052 -CountryOrRegion "CH"


After a few minutes, the buildings can be selected as work locations in Outlook. Please note that caching may cause a slight delay. On the web it will be up to date in a very short time.

Arbeitsort auswählen
Select work location

Link to floor and meeting room.
The floor must be created and linked to a building, then a meeting room must be linked to a floor.

Creation of floors, also via New-Place.

PowerShell
# Create new floors in a building
$FloorBE_Ostring_0 = New-Place -Type Floor -Name "Lobby" -ParentId  $BuildingCHBern1.PlaceId -SortOrder 0
$FloorBE_Ostring_1 = New-Place -Type Floor -Name "1" -ParentId $BuildingCHBern1.PlaceId -SortOrder 1
$FloorZH_Leutschenbach_0 = New-Place -Type Floor -Name "Lobby" -ParentId $BuildingCHZurich.PlaceId -SortOrder 0
$FloorZH_Leutschenbach_1 = New-Place -Type Floor -Name "1" -ParentId $BuildingCHZurich.PlaceId -SortOrder 1


Link meeting room with a floor, with Set-PlaceV3.
This must be an existing meeting room. The identity is the mail address of the Exchange Room resource.

PowerShell
# Connect meeting room with a floor
$MeetingRoomBE1 = Set-PlaceV3 -Identity "[email protected]" -ParentId $FloorBE_Ostring_1.PlaceId
$MeetingRoomBE2 = Set-PlaceV3 -Identity "[email protected]" -ParentId $FloorBE_Ostring_1.PlaceId


With Get-PlaceV3, PowerShell lists what places are in the tenant. The ParentId shows how the places are linked to each other.

PowerShell

If you have made a mistake, Set-PlaceV3 and Remove-Place can help.
With Remove-Place you cannot delete a building if there are still floors linked.

PowerShell
# Delete a floor and the building
Remove-Place -Identity $BuildingCHBiel.PlaceId
Remove-Place -Identity $FloorZH_Leutschenbach_1.PlaceId
Remove-Place -Identity $FloorZH_Leutschenbach_0.PlaceId
Remove-Place -Identity $BuildingCHZurich.PlaceId


Outlook changes the location back to the original value Office if an account has selected the deleted location in Outlook as the work location.

Share
Avatar photo

Tobias Asböck

Tobias is a Senior System Engineer with around ten years of professional experience with Microsoft 365 products such as SharePoint Online, OneDrive for Business, Teams Collaboration, Entra ID, Information Protection, Universal Print, and Microsoft 365 Licensing. He also has 15+ years of experience planning, administering, and operating SharePoint Server environments. Tobias is a PowerShell Scripter with certifications for Microsoft 365 products. In his spare time, Tobias is busy with updates in the Microsoft 365 world or on the road with his road bike and other sports activities. If you have additional questions, please contact me via LinkedIn or [email protected].

Leave a Reply

Your email address will not be published. Required fields are marked *