MS graph API for place always returning properties like "Building","Floor" as null

149 views Asked by At

Hi I'm using the following API to fetch the resource mailbox details.

 var place = await graphClient.Places["[email protected]"]
.Request()
.GetAsync();

But Building, floor, etc such properties are always null. even it has value in the exchange server. Those values ​​can be obtained using the PowerShell command.

 Get-Place -Identity "[email protected]"

enter image description here

Any help is appreciated.

1

There are 1 answers

0
Dev On

Not sure this is a duplicate issue that we worked earlier. Still i will go ahead and answer it.

(1) You can use the set-place Exchange PowerShell cmdlet to set the values for your exchange online mailbox and update its metadata info. Here is the related documentation link

(2) Then, use Graph API SDK or MS Graph Explorer and make the API call, it returns the values.