Adding services to buildings (optional)
In Microsoft Places apps admins can add services that appear in the Explore tab of the Microsoft Places app. These services can be added per building to provide employees with all the services that each building offers.
For example, a building might have a cafeteria where employees can order food online. Admins have the ability to show employees a link to the website of the cafeteria menu or an app that employees should use to order food online. The following page is an example of how services (both links and apps) might appear.
Prerequisites
Ensure you have the latest PowerShell 7
Before using any of the Places PowerShell cmdlets, you must first connect using Connect-MicrosoftPlaces
Adding services to a building
Find the ID for the building you want to add a service to. See Get-PlaceV3 to learn more on the process of getting the ID.
Associate the service with your building using the ResourceLinks parameter. See Set-PlaceV3 for more information on the ResourceLinks parameter.
Adding an app (coming soon)
This example associates a services app with a building.
Set-PlaceV3 -Identity <BuildingPlaceID> -ResourceLinks @{name="Dining App"; Value="0c7c95a9-b1e2-4725-9a25-793e4205739d"; type="MetaosApp"}
Adding a web link
This example adds a link to a website to the building services.
Set-PlaceV3 -Identity <BuildingPlaceId> -ResourceLinks @{name="Tech Support"; Value="www.contoso.sharepoint.com/TechSupport"; type="URL"}
Once these steps are complete, open the Microsoft Places Explore page the Microsoft Places app. The service you added appears with its associated building.
Appending a new service to a building
If your building has already some services linked, keep in mind that the value provided for ResourceLinks parameter will replace the existing set.
The steps to append a new service are:
$ResourceLinks = (Get-PlaceV3 <BuildingPlaceId>).ResourceLinks
$ResourceLinks.Add(@{name="Tech Support"; Value="www.contoso.sharepoint.com/TechSupport"; type="URL"})
Set-PlaceV3 -Identity <BuildingPlaceId> -ResourceLinks $ResourceLinks