Hello olivierraveneau,
Thanks for reaching out!
Currently using Microsoft Graph API there is no direct API endpoint to check if a user is allowed to book a room based on permissions in Microsoft Exchange or Outlook. However, you can still achieve this indirectly by following these steps:
- Get the list of users and groups that are granted booking permissions for the room using the
GET /me/findRooms
andGET /users/{id}/findRooms
API endpoint. - Check if the user or any of the groups the user belongs to is present in the list of users and groups that are granted booking permissions for the room.
Reference Link:
https://learn.microsoft.com/en-us/graph/api/user-findrooms?view=graph-rest-beta&tabs=http
Note: APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".