How do I add a few places in my demo tenant?

Viewed 23

I have the following code to list all the rooms defined in my demo tenant:

GraphServiceClient graphClient = new GraphServiceClient( authProvider );

var room = await graphClient.Places
    .Request()
    .GetAsync();

Currently, I see no response as there are no results on running this query.

enter image description here

How do I add a few places in my demo tenant so that this query returns some results?

1 Answers

According to the documentation places API doesn't support adding new places.

Only administrator of your tenant can create room list and room via the Exchange PowerShell cmdlets.

To create a room list, use cmdlet New-DistributionGroup.

To add a room to a room list, use cmdlet Add-DistributionGroupMember.

Resources:

Configure room

New-DistributionGroup

Add-DistributionGroupMember

Related