question

BillyIKANDA-6371 avatar image
0 Votes"
BillyIKANDA-6371 asked saldana-msft edited

Microsoft Graph get bookings of a resource mailbox

Hi there,

We are trying to retrieve the bookings of a single meeting room.
We already used the "get schedule" endpoint, but we also require information about the organizer which isn't included in the "get schedule" endpoint, except it seems that it isn't possible to retrieve the bookings of a resource mailbox using a different endpoint unless we don't have the right permissions to do this.

Any ideas if there is an endpoint to achieve this and which permissions are required to do this?

Thanks in advance,

Billy Cottrell

PS: We are trying to create an android app to show the active booking and the next one of a single resource mailbox.

microsoft-graph-sdkazure-ad-msal
· 5
5 |1600 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.

As you said, calendar: getSchedule does not return organizer info. Can you checkout List calendarView and see if it will help.


1 Vote 1 ·

Hi @Danstan,

Thank you for the help, I checked this endpoint out, and I was able to retrieve the information I needed.
It is weird that resource mailboxes are only mentioned on the getSchedule endpoint, making it look like they can't be retrieved using any other endpoints.
I hope that this can be changed in the future so its more clear which endpoints can be used for resource mailboxes and which can't as.

0 Votes 0 ·

Happy to help. I will add this as the answer, please accept and upvote to help other users.

0 Votes 0 ·

Also, beforehand I tried to use the "/users/{id | userPrincipalName}/calendar/events" endpoint, but it didn't work. Now I found out that you can use the endpoint but as the logged-in user you had to be one of the resource mailbox delegates in order to retrieve its information being an admin or having admin permissions isn't sufficient for that endpoint.
As in my case I am a global administrator, but I still didn't have any access to these mailboxes due to not being one of the delegates of that resource mailbox.

Is this normal behaviour or am I missing something? Since this wasn't mentioned in the documentation either as they only say to update the permissions.

Thanks in Advance,

Billy Cottrell

0 Votes 0 ·

As for this one, I suggest you open a new question to get assistance. Feel free to tag me on the question so I can check it out.

1 Vote 1 ·

1 Answer

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered

calendar: getSchedule does not return organizer info. Checkout List calendarView which returns the info needed.


5 |1600 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.