question

SumithJose-2931 avatar image
0 Votes"
SumithJose-2931 asked ·

Exchange Room mailbox address details using GraphClient

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.


office-exchange-server-administrationmicrosoft-graph-sdkmicrosoft-graph-mail
image.png (16.4 KiB)
image.png (9.1 KiB)
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

  • Outside of Graphclient/sdk, have you tried repro the issue with MS Graph Explorer? Can you repro the same result?

  • Is the exchange room mailbox is hybrid or Office 365?

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered ·

(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://docs.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)

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.