Exchange Room mailbox address details using GraphClient

Sumith Jose 21 Reputation points
2020-10-06T10:15:56.597+00:00

I'm trying to fetch room mailbox details from exchange using GraphClient. And I'm getting successful response from the following API

     var place = await graphClient.Places["roomaddress@microsoft.com"]  
    .Request()  
    .GetAsync();  

But the below address details always shown as null in this response. What's the issue might be?

30217-image.png

Response is given below.
30326-image.png

Any help is appreciated.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,581 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,347 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2020-10-20T18:44:40.833+00:00

    (1) First you need to use the set-place Exchange Powershell cmdlet to set the values for your exchange online mailbox and update its metadata info. Related documentation - https://learn.microsoft.com/en-us/powershell/module/exchange/set-place?view=exchange-ps
    (2) Now make the Graph API call and it works for me.

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    0 comments No comments