Detect if a user can book a room in Outlook/Exchange Online using Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-2676029%22%20slang%3D%22en-US%22%3EDetect%20if%20a%20user%20can%20book%20a%20room%20in%20Outlook%2FExchange%20Online%20using%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2676029%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20detect%20if%20a%20user%20can%20book%20a%20room%20resource%20via%20Microsoft%20Graph%3F%20Can't%20find%20any%20documentation%20on%20samples%20on%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20mean%2C%20there%20is%20a%20setting%20in%20Exchange%20Online%20from%26nbsp%3B%20Exchange%20administration%20side%20that%20we%20can%20tweak%20either%20from%20the%20UI%20or%20from%20PowerShell%20(Set-CalendarProcessing%20%2B%20BookInPolicy%20parameter)%20in%20the%20room%20resource%20as%20below%2C%20so%20the%20room%20only%20accepts%20requests%20from%20specified%20users%20and%20groups%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22E9efz1-XIAIuK56.jfif%22%20style%3D%22width%3A%20889px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305108i09B23C4AB1E6834E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22E9efz1-XIAIuK56.jfif%22%20alt%3D%22E9efz1-XIAIuK56.jfif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI'm%20working%20on%20a%20custom%20app%20to%20book%20rooms%2C%20it%20would%20be%20good%20to%20warn%20or%20block%20rooms%20that%20users%20don't%20have%20permission%20to%20invite%20rooms%20to%20meetings%2C%20instead%20of%20booking%20an%20event%20and%20managing%20the%20rejection.%20As%20this%20setting%20can%20be%20managed%20with%20PowerShell%20I%20wonder%20if%20there%20is%20no%20other%20way%20to%20access%20it%20programmatically%20such%20as%20via%20MS%20Graph.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Is it possible to detect if a user can book a room resource via Microsoft Graph? Can't find any documentation on samples on it.

 

I mean, there is a setting in Exchange Online from  Exchange administration side that we can tweak either from the UI or from PowerShell (Set-CalendarProcessing + BookInPolicy parameter) in the room resource as below, so the room only accepts requests from specified users and groups:

E9efz1-XIAIuK56.jfif

I'm working on a custom app to book rooms, it would be good to warn or block rooms that users don't have permission to invite rooms to meetings, instead of booking an event and managing the rejection. As this setting can be managed with PowerShell I wonder if there is no other way to access it programmatically such as via MS Graph.

2 Replies
Afaik no, as Graph still doesn't cover any admin Exchange Online operations.
Hi Vasil, thanks for your response. I explained from the admin side to show what is the exact setting but, it wouldn't be managing as admin but maybe a way to determine if a user can book a room or not?